Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2002
    Posts
    94

    Default prevent directory listing

    I currently have my box set so that it does not show directory listings, but i want to set it so that my clients can override it with .htaccess.

    No matter what i change the settings to, it will either:

    - turn off directory listings server-wide and not let users override it
    - turn on directory listings by default, and let users turn it off by overriding it

    What should i set my httpd to for it to:

    -turn off directory listings server-wide by default, and let my users override the setting using Options +indexes in a .htaccess?

  2. #2
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    In access.conf change Indexes to -Indexes

  3. #3
    Member
    Join Date
    Oct 2002
    Posts
    94

    Default

    Thank you Juanra.

Similar Threads & Tags
Similar threads

  1. Directory Listing
    By Mini in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-04-2010, 10:49 AM
  2. prevent directory listing globally
    By guysmiley in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-05-2008, 03:28 PM
  3. prevent directory listing
    By silvernetuk in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 07-29-2008, 04:10 PM
  4. no directory listing
    By tucman in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-04-2007, 12:56 AM
  5. /etc directory listing
    By zxcvbnm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-02-2004, 08:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube