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

Fixed Installation Problem (mod_rewrite)


Go to End


2 Posts   1960 Views

Avatar
carnal

Community Member, 19 Posts

4 July 2007 at 6:11am

Hi,

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.

Regards

Hartmut

Avatar
Sigurd

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