403 Forbidden error on subfolder

Discussion in 'General' started by adam_clayton, Jun 4, 2012.

  1. adam_clayton

    adam_clayton New Member

    Hello.
    I've some trouble with one of my domain. This domain have seperated accounts with mail /ftp etc. Site working ok, but i must created some subfolder with jpg files. So in ftp clients i'm loggin in, create some subfolder in /web directory. The domain indicate root /web folder. the subfolder have chmod 755. Now i try this link http://mydomain/subfolder and i've got 403 error.

    In vhost config file i have :
    Code:
    <Directory "/var/www/clients/client6/web5/web/subfolder">
    Allow from all
    Options +Indexes
    </Directory>
    What i am doing wrong

    Adam
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add both paths :

    <Directory "/var/www/clients/client6/web5/web/subfolder">
    Allow from all
    Options +Indexes
    </Directory>

    and

    <Directory "/var/www/domain.tld/web/subfolder">
    Allow from all
    Options +Indexes
    </Directory>

    in apache directives field. Or add a .htaccess file in web/subfolder to activate Indexes.
     
  3. adam_clayton

    adam_clayton New Member

    Thanks Till, now works fine
     

Share This Page