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.


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

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

Extrange problem with mod_rewrite


3 Posts   989 Views


1 February 2008 at 12:29pm Community Member, 41 Posts

I have apache 2.2.4 and i try to get SilverStripe 2.2 working.
But after installing it sucessfully, i have a problem with mod rewrite
it's working but instead of execute sapphire/main.php on the server.
the browser prompt to download it.

So i get all the php code of main.php on the client!

mod_rewrite is working but seems like after it php was disabled and prompt to download the file

but php is working too because http://localhost/install.php it still working.

AllowOverride ALL is set in the folder of web server.

I try many thing but i cant get it working.

Some idea?


5 February 2008 at 1:31am Community Member, 41 Posts



5 February 2008 at 5:24am Community Member, 149 Posts

There must be something wrong with your php settings, I never had similar problems :(