How Do I Disable Directory Listing

Home Forums BulletProof Security Free How Do I Disable Directory Listing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40554
    AITpro Admin
    Keymaster

    Email Question:

    I’m just trying to configure the free plugin to Disable Directory Listing.
    Any clear instructions how to configure only for this? Thanks

    #40555
    AITpro Admin
    Keymaster

    Answer:

    BPS already does that by default (see the BPS default root htaccess code below). So you don’t need to do anything else to disable directory listing/indexing.

    # DO NOT SHOW DIRECTORY LISTING
    # Disallow mod_autoindex from displaying a directory listing 
    # If a 500 Internal Server Error occurs when activating Root BulletProof Mode 
    # copy the entire DO NOT SHOW DIRECTORY LISTING and DIRECTORY INDEX sections of code 
    # and paste it into BPS Custom Code and comment out Options -Indexes 
    # by adding a # sign in front of it.
    # Example: #Options -Indexes
    Options -Indexes
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.