SquirrelMail + Passenger error #2 /Ruby/
Passenger error #2
An error occurred while trying to access '/var/www/*/config.ru': Cannot stat '/var/www/*/config.ru': Permission denied (13)
Apache doesn't have read permissions to that file. Please fix the relevant file permissions.
ищем конфиг squirrelmail.conf
в root@s3:/etc/apache2/conf.d
и добавим/отключим парсер
#Alias /webmail /usr/share/squirrelmail
Alias /webmail /var/www/*/dir
<Directory /var/www/*/dir>
AssignUserID main main
RemoveHandler .php .php3 .php4 .phtml
AddType application/x-httpd-php .php .php3 .php4 .phtml
php_admin_value open_basedir none
php_admin_value upload_tmp_dir /var/www/*/tmp
php_admin_value session.save_path "/var/www/*/tmp"
php_admin_value include_path .:..
php_admin_value safe_mode off
php_admin_value mbstring.func_overload 0
DirectoryIndex index.php
Order allow,deny
Allow from all
<strong>PassengerEnabled off</strong>
</Directory>
0 комментариев