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

Fixed Installation Problem (mod_rewrite)

Go to End

2 Posts   1807 Views


Community Member, 19 Posts

4 July 2007 at 6:11am


first of all thanks for this piece of software wich will be famous one time :-)

Unfortunately i had a problem with the installation as i could not use silverstripe because of a mod_rewrite error (Silverstripe reported that i havent got mod_rewrite activated wich was not true).

The only problem was the rewrite rule in the .htacces itself.
I replaced this line:

RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

with this line:

RewriteRule .* /sapphire/main.php?url=%1&%{QUERY_STRING} [L]

and it worked like a charm.

Just to notice.




Forum Moderator, 628 Posts

5 July 2007 at 5:58pm

Were you dealing in a subdirectory? It'd be great to learn why this was needed for you and not everyone else... .htaccess has definitely been a fragile part of the system...