403 error in subdirectory

Discussion in 'Installation/Configuration' started by adam_clayton, Mar 17, 2011.

  1. adam_clayton

    adam_clayton New Member

    Hello. I have some trouble with error 403 and subdirectory.
    I.ve path ex: http://www.mydomain.com/sample
    Dir sample is in /var/www/clients/client0/web and have chmod 755
    there is also ftp user who have log in permision only to the dir sample.

    FTP works fine, but when i want list folder mydomain.com/sample from browser i have 403 forbiden error.

    But when i type in browser for example http://www.mydomain.com/sample/1.jpg i see this pictures in browser window.

    So what i have to do to list this folder in browser
  2. falko

    falko Super Moderator ISPConfig Developer

    Do you have an index file in that directory?

    If not, and you want to get a directory listing, you must add
    <Directory /var/www/clients/client0/web/>
    Options +Indexes 
    to your Apache configuration (see http://httpd.apache.org/docs/2.0/mod/core.html#options ).

Share This Page