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

Installation under XAMPP in WindowsXP env


Go to End


3 Posts   3587 Views

Avatar
chjun19

Community Member, 2 Posts

17 September 2008 at 11:01pm

Hi,
I'm trying to install SilverStripe in the above environment but no avail. I have enabled mod_rewrite in httpd.conf.

The installation setup gives me an OK for mod_rewrite, but when I proceed with the installation, rewritetest.php tells me that

Warning: file_get_contents(http://silverstripe:8181\/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in c:\xampp\htdocs\silverstripe\rewritetest.php on line 47

Warning: file_get_contents(http://silverstripe:8181\/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in c:\xampp\htdocs\silverstripe\rewritetest.php on line 47
mod_rewrite doesn't appear to be working. Make sure:

* mod_rewrite is enabled in your httpd.conf
* AllowOverride is enabled for the current path.

When I force installation to proceed, I ended up in an error 500 page.

Can anybody help?

Avatar
ajshort

Community Member, 244 Posts

18 September 2008 at 12:04am

Ive had a similar problem before. If you force installation to continue, and then open up your .htaccess file, you may see this:

RewriteBase \

change it to

RewriteBase /

Avatar
chjun19

Community Member, 2 Posts

18 September 2008 at 1:26pm

Thanks for the response ajshort! Your solution works :)