17488 Posts in 4473 Topics by 1978 members
|Go to End|
9 December 2007 at 10:18am Last edited: 10 December 2007 7:49am
I am running Ubuntu 7.04 with Apache2 and PHP 5.2.1. Everything on the PHP installer works great until I get to the mod_rewrite test. At this point I get that error message saying something like "This doesn't work, blah blah. Check that mod_rewrite is enabled in you httpd.conf and that AllowOverride is enabled for the current path."
After an hour and a half of tweaking and reloading the server I am pretty much nowhere. I checked phpinfo which says that mod_rewrite is loaded and this is what my httpd.conf looks like right now.
Silverstripe is unpacked in /var/www/. Forcing the installation doesn't work either. When the installer redirects me to final screen I get a 404, which screams mod_rewrite is broken. Unfortunately I don't know what to think when PHP is telling me its loaded and a2enmod rewrite outputs "This module is already enabled".
10 December 2007 at 7:50am
Problem solved. The default VirtualHost under sites-enabled/ set AllowOverride to none. Once I changed that everything worked fine.
|Go to Top|