Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default directory indexing help

    I have directory indexing off by default server-wide.

    When put a .htaccess file in a directory that I want to show the contents in, I get the "Index of /folder" title but none of the files get listed.

    Is there a setting that I missed somewhere?

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    contents of the .htaccess file should be:

    Options +Indexes

    cPanel.net Support Ticket Number:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    That is what I put in the .htaccess.

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    May 2003
    Posts
    613

    Default Re: directory indexing help

    Originally posted by butch
    I have directory indexing off by default server-wide.

    When put a .htaccess file in a directory that I want to show the contents in, I get the "Index of /folder" title but none of the files get listed.

    Is there a setting that I missed somewhere?
    Check the permissions on the directory.



  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    The permission for that folder is the default 755.

    Should it be something else?

    cPanel.net Support Ticket Number:

  6. #6
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Originally posted by butch
    The permission for that folder is the default 755.

    Should it be something else?
    You may need to check the permissions on the directory one up and so on to see if any of them is forbidding others to read the contents.



  7. #7
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    folder permissions look good.

    Any other suggestions?

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Have you tried the index manager in cpanel to see if it makes any difference?



  9. #9
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    Yup.

    I tried the index manager as well as creating the .htaccess file myself.

    cPanel.net Support Ticket Number:

  10. #10
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Are you able to see the contents if you set up an .htaccess in another folder on this user or another user's space?



  11. #11
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    Good question.

    It looks like it is a server wide issue as I cannot get it to work on any account.

    Nothing has been changed in the access.conf and httpd.conf as far as changing the default values for anything Options related.

    cPanel.net Support Ticket Number:

  12. #12
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Are you getting "Index of /folder" with an empty listing in all of them or the 403 "forbidden" message?



  13. #13
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    Index of /folder on all 3 of the folders that I tried on.

    3 different accounts, 3 different folders.

    My .htaccess:

    Options +Indexes

    cPanel.net Support Ticket Number:

  14. #14
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Have you got this in access.conf?

    <Directory />
    Options -Indexes .........................
    AllowOverride All
    order allow,deny
    allow from all
    </Directory>


    and this in httpd.conf?

    <Directory />
    Options All
    AllowOverride All
    </Directory>



  15. #15
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    This is my access.conf:

    <Directory />
    Options Indexes FollowSymLinks ExecCGI Includes
    AllowOverride All
    order allow,deny
    allow from all
    </Directory>

    And my httpd.conf:

    <Directory />
    IndexIgnore *
    Options All
    AllowOverride All
    </Directory>

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. How to enable Fancy Directory Indexing in Apache 2.2
    By sneader in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 08-31-2009, 11:44 AM
  2. Easyapache3 Apache2.2 Fancy Directory Indexing
    By ddcarnage in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-14-2008, 09:12 PM
  3. Indexing / Fancy Indexing
    By jrblaine in forum New User Questions
    Replies: 3
    Last Post: 10-18-2007, 09:09 AM
  4. Directory Indexing Off by default on new accounts
    By ckizer in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-01-2005, 02:20 PM
  5. Server directory indexing?
    By ThunderHostingDotCom in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-29-2003, 12:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube