[APACHE 2] Browsing folders isn't allowed

Discussion in 'Server Operation' started by Supermouts, May 9, 2010.

  1. Supermouts

    Supermouts New Member

    Hi there,

    First, I would to apologize for my bad english ! :)

    I'm running a server with CentOS 5.4 & all the stuff given by "The perfect CentOS 5.4 x86_64 server setup".

    I've succeded in all the steps but I've one more question, I can't browse the content of folders on websites I created on my server (with ISPConfig 3)

    I got the following error:

    Code:
    Forbidden
    
    You don't have permission to access /img/ on this server.
    
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    
    Apache/2.2.3 (CentOS) Server at thomasmeghe.fr Port 80
    Thanks for answers !!

    Good evening,
    Thomas
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Can you go to the document root of the web site and post the output of
    Code:
    ls -la
    ?
     
  3. edge

    edge Active Member Moderator

    Read this.
    http://www.howtoforge.com/forums/showthread.php?t=33287

    Basically in ISPconfig 3 you will need to go to Sites > Website > select the website in question and go to the tab "Options" and enter the code shown below.
    In the example you WILL need to change client2, web29 and download to your settings!
    Code:
    <Directory /var/clients/client2/web29/web/download>
    Options +Indexes
    </Directory>
     
    Last edited: May 10, 2010

Share This Page