Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2002
    Location
    Bucuresti
    Posts
    128

    Default don't want to show folder content

    Hi!

    How can I modify httpd.conf (???) for this problem:

    Who access www.name.com/images/ (for example) can see the folder content, but I don't want this... and I don't want to put in every folder an index.html

    Any sollutions?

    Thanks!

  2. #2
    Member
    Join Date
    Oct 2001
    Posts
    651

    Default

    Put a .htaccess file in the public_html directory with this as its sole contents:

    Options -Indexes

    If you want to disable it server wide, you can put that .htaccess file in the /home directory.
    Marty Hoskins
    TLC Web Enterprises

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    .... or you can put the Options -Indexes line in your httpd.conf.

  4. #4
    Member
    Join Date
    Feb 2002
    Location
    Bucuresti
    Posts
    128

    Default Work

    Work with .htaccess.

    Thank you very much!

Similar Threads & Tags
Similar threads

  1. Pictures uploaded but don't show
    By renegadelady2 in forum New User Questions
    Replies: 4
    Last Post: 07-13-2007, 07:19 AM
  2. Picture don't show
    By acropole in forum New User Questions
    Replies: 4
    Last Post: 06-14-2007, 07:33 PM
  3. IP's don't show in WHM
    By biggdogg285 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-29-2007, 03:59 PM
  4. Replies: 1
    Last Post: 04-22-2004, 09:10 AM
  5. accounts don't show
    By ForumHosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-11-2003, 04:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube