htaccess directory listing

Discussion in 'Site & Server Administration' started by mattr2110, Aug 18, 2006.

  1. #1
    I'm trying to prevent directory listing, I have addedd an .htaccess file to a folder and put IndexIgnore * in the file, but I can still open the directory in a browser and see everything in it. Am I missing someting?
     
    mattr2110, Aug 18, 2006 IP
  2. mattr2110

    mattr2110 Active Member

    Messages:
    323
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Any suggestions
     
    mattr2110, Aug 21, 2006 IP
  3. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    remove the word "Indexes" on your apache config.. if the index ignore doesn't work in htaccess, maybe your ISP did not enable it.. just remove that word then you are set to go...
     
    theblight, Aug 24, 2006 IP