Quote:
Originally Posted by till
Remove all php_flag lines from the .htaccess file as they are not allowed in .htaccess files in a hosting setup. Move them to the apache directives field instead if you use mod_php, otherwise remove them completely.
|
Till,
The /var/www/www.123.co.uk/webmail/.htaccess now looks like this
Code:
# AddDefaultCharset UTF-8
AddType text/x-component .htc
<IfModule mod_php5.c>
php_value error_log logs/errors
php_value upload_max_filesize 5M
php_value post_max_size 6M
php_value memory_limit 64M
php_value zlib.output_compression 0
php_value magic_quotes_gpc 0
php_value zend.ze1_compatibility_mode 0
php_value session.auto_start 0
php_value session.gc_maxlifetime 21600
php_value session.gc_divisor 500
php_value session.gc_probability 1
# http://bugs.php.net/bug.php?id=30766
php_value mbstring.func_overload 0
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon.ico$ skins/default/images/favicon.ico
</IfModule>
Order deny,allow
Allow from all
There were 2 lines of php_flag directives in there.
I didn't add them. Is something wrongly configured somewhere?
I still got the Same 5oo error in my browser..
The log file said to remove any php_value flags.
The .htaccess now looks like
Code:
# AddDefaultCharset UTF-8
AddType text/x-component .htc
<IfModule mod_php5.c>
# http://bugs.php.net/bug.php?id=30766
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon.ico$ skins/default/images/favicon.ico
</IfModule>
Order deny,allow
Allow from all
And I see Roundcube in the right place!
How did that .htaccess file come to look the way it did?
S