On 03/14/2012 09:04:59AM, Tolga wrote: > Try AllowOverride All. If it works, you know .htaccess is the file to dig > in. > > On 14 March 2012 01:18, Stephen R Guglielmo <[email protected]> wrote: > > > Hey list, > > > > First, my setup: > > FreeBSD 9.0-RELEASE AMD64 > > Apache/2.2.22 > > PHP 5.3.10 with Suhosin-Patch > > roundcube-0.7.1,1 > > postgresql-server-9.1.3 > > > > I installed roundcube from the FreeBSD ports. I ran the install script, > > went through the configuration, saved my configuration files to the proper > > locations. > > It ran the test page, and everything worked fine. I tried sending a test > > mail, testing the connection to my database (postgresql) and imap server > > (dovecot). Everything worked perfectly. > > Then when I finished and tried to access the main roundcube directory, > > apache is giving me a 500 error. I have found no error logs anywhere. Not > > in roundcube's logs/ dir, not in apache's error log (even with LogLevel at > > debug), and not in my php error log. > > > > I've browsed through the Wiki about the issue, it brought up the .htaccess > > files. I have 'AllowOverride None' on the entire filesystem, so apache > > should be completely ignoring the .htaccess files. It shouldn't even be > > stat()'ing them. I read each of the .htaccess files in the various dirs > > within roundcube and I put them in my apache config file. I prefer > > everything to be in there as opposed to using .htaccess. I have the > > applicable section of my apache file pasted below. In addition to that, I > > put some of the main settings into my main apache config, the ETags, > > DEFLATE, DefaultCharset, and those other settings. > > > > If anyone has any suggestions on where to start with this, I'd appreciate > > it. It's driving me nuts. > > > > Thank you! > > > > -- Snip apache's config -- > > # Setup Permissions > > <Directory /> > > Options None > > AllowOverride None > > Order deny,allow > > Deny from all > > </Directory> > > Alias /mail /usr/local/www/roundcube > > <Directory "/usr/local/www/roundcube"> > > Options SymLinksIfOwnerMatch > > Order allow,deny > > Allow from my.ip.add.ress > > RewriteEngine On > > RewriteRule ^favicon.ico$ skins/default/images/favicon.ico > > RewriteRule .svn/ - [F] > > RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] > > Header merge Cache-Control public env=!NO_CACHE > > AddType text/x-component .htc > > </Directory> > > <Directory "/usr/local/www/roundcube/temp"> > > Order allow,deny > > Deny from all > > </Directory> > > <Directory "/usr/local/www/roundcube/logs"> > > Order allow,deny > > Deny from all > > </Directory> > > <Directory "/usr/local/www/roundcube/plugins/enigma/home"> > > Order allow,deny > > Deny from all > > </Directory> > > <Directory "/usr/local/www/roundcube/config"> > > Order allow,deny > > Deny from all > > </Directory> > > <Directory "/usr/local/www/roundcube/program"> > > RewriteEngine On > > RewriteRule !^js|.*\.gif$ - [F] > > </Directory> > > _______________________________________________ > > Roundcube Users mailing list > > [email protected] > > http://lists.roundcube.net/mailman/listinfo/users > >
> _______________________________________________ > Roundcube Users mailing list > [email protected] > http://lists.roundcube.net/mailman/listinfo/users Thanks for the suggestion! However, it didn't have any effect. I tried several more things in the mean time, and I just can't figure it out. I upgraded to Roundcube 0.7.2. I tried recompiling php WITHOUT the suhoshin patch. I tried using the php.ini-development and php.ini-production files that come with php. I tried commenting everything I added to apache's config, as well as adding AllowOverride All to the roundcube dir. Nothing at all seems to be working. This is so odd. I made a script with phpinfo() in the roundcube dir which works fine. I can also access robots.txt from roundcube's dir, so access to the dir is working. I even went through and set a cookie whitelist allow and disabled adblock in my browser. Still absolutely nothing in my apache error log and my php error log. I even made a php file with a syntax error purposely to ensure logging is working - it is. The hit to roundcube is showing up in my apache ACCESS log, but it's still giving me the 500 error :-\ I must've went through the roundcube installer 5 times in the last day, wiping everything out and restarting. I tried changing the permissions on the dir, including world-readable and writable. Nothing seems to be working. Is there some sort of php or apache debugger that I can use? Thanks! _______________________________________________ Roundcube Users mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/users
