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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Extrange problem with mod_rewrite


Go to End


3 Posts   1256 Views

Avatar
msantang

Community Member, 41 Posts

1 February 2008 at 12:29pm

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?

Avatar
msantang

Community Member, 41 Posts

5 February 2008 at 1:31am

Anyone?

Avatar
Wojtek

Community Member, 149 Posts

5 February 2008 at 5:24am

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