Cant access folder on server- Permission denied

Posted by Michal Korzeniowski on Server Fault See other posts from Server Fault or by Michal Korzeniowski
Published on 2012-11-30T15:27:44Z Indexed on 2012/11/30 17:06 UTC
Read the original article Hit count: 262

Filed under:
|
|
|
|

I am running a vps with ubuntu 11.04. After a clean Modx install I've tried to access http://www.encepence.pl/manager and I've got a permission denied by my server. the thing is that I can easily access any other folder under that domain and modify this folder(manager) content via ftp. I’ve tried modifying virtual host with that

<Directory /var/www/blackflow/data/www/encepence.pl/manager/>
 Options Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>

But it didn't work.

<Directory /var/www/blackflow/data/www/encepence.pl>
    Options -ExecCGI -Includes
    php_admin_value open_basedir "/var/www/blackflow/data:."
    php_admin_flag engine on
</Directory>

<VirtualHost 192.166.219.34:80 >
    ServerName encepence.pl
    CustomLog /var/www/httpd-logs/encepence.pl.access.log combined
    DocumentRoot /var/www/blackflow/data/www/encepence.pl

    ErrorLog /var/www/httpd-logs/encepence.pl.error.log
    ServerAdmin [email protected]
    ServerAlias www.encepence.pl
    SuexecUserGroup blackflow blackflow
    AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
    AddType application/x-httpd-php-source .phps
    php_admin_value open_basedir "/var/www/blackflow/data:."
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f [email protected]"
    php_admin_value upload_tmp_dir "/var/www/blackflow/data/mod-tmp"
    php_admin_value session.save_path "/var/www/blackflow/data/mod-tmp"
    VirtualDocumentRoot /var/www/blackflow/data/www/%0

</VirtualHost>

Any ideas on what might have gone wrong?

© Server Fault or respective owner

Related posts about apache2

Related posts about ubuntu