PDA

View Full Version : Roundcube issue



millerdesign
08-19-2007, 01:00 AM
I went from PHP4 CLI to PHP4 & PHP5 CGI and now I get 500 Internal Error when I try to access roundcube mail.

I had roundcube installed and running prior to the new custombuild 1.1. update.

Any ideas how to fix this?

iceuk626
08-19-2007, 02:24 AM
Take a look at this post http://www.directadmin.com/forum/showthread.php?t=20106.

millerdesign
08-19-2007, 08:14 AM
Thanks, but I already tried that, still 500 error.

millerdesign
08-19-2007, 12:01 PM
Get this in error log:


/var/www/html/roundcube/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration

smtalk
08-19-2007, 01:02 PM
Get this in error log:


/var/www/html/roundcube/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration



perl -pi -e 's/php_flag/#php_flag/' /var/www/html/roundcube/.htaccess

millerdesign
08-19-2007, 01:08 PM
Nothing happens.

smtalk
08-19-2007, 02:41 PM
Still get: /var/www/html/roundcube/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration?

millerdesign
08-19-2007, 04:07 PM
Yes still getting same error.

Also still getting 500 Internal Server Error.

millerdesign
08-19-2007, 08:45 PM
# AddDefaultCharset UTF-8
#php_flag display_errors Off
#php_flag log_errors On
#php_value error_log logs/errors
#php_value upload_max_filesize 2M

<FilesMatch "(\.inc|\~)$|^_">
Order allow,deny
Deny from all
</FilesMatch>

Order deny,allow
Allow from all


Commenting out php_value and php_flag in the .htaccess file does the trick!