The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enabling Directory index

Discussion in 'General Discussion' started by kcdworks, Oct 19, 2002.

  1. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    How do I enable directory indexing for an entire server? It has somehow gotten disabled, and so many customers are requesting that it be re-enabled that I hate to tell them all to use .htaccess files. Is there any easy way to do this?
     
  2. Curt

    Curt Well-Known Member

    Joined:
    Oct 16, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    You should be able to place a .htaccess file in the /home directory of your server with the following line in it and that should do it.

    Options +Indexes

    I use the minus option to disable it on my servers and it works fine. You can also looks in the httpd.conf file for the Options Indexes words and make a change there.
     
  3. kcdworks

    kcdworks Well-Known Member

    Joined:
    Jul 28, 2002
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Thank you, that's exactly what I was looking for :)
     
Loading...

Share This Page