Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Installation Woes

Go to End

2 Posts   1270 Views


Community Member, 2 Posts

9 December 2007 at 10:18am

Edited: 10/12/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.

<Directory /var/www/>
Options FollowSymLinks
AllowOverride All

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".

Any ideas?


Community Member, 2 Posts

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.