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.

Archive /

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

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

Installation Woes


Reply


2 Posts   1100 Views

Avatar
samiam14

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
</Directory>

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?

Avatar
samiam14

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.