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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

mod_rewrite again!


Go to End


2 Posts   2704 Views

Avatar
Matty Balaam

Community Member, 74 Posts

10 June 2010 at 1:51am

Edited: 10/06/2010 2:40am

Hi,

I have been running Silverstripe for a while on fasthosts.co.uk for my own site. I was originally using 2.3, but upgraded the neccesary files recently to 2.4 with little trouble.

I have just started attempting to install 2.4 onto a new site also hosted by fasthosts.co.uk, but going to the base url gives me the following error:

----------------------------------------------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.3 (CentOS) Server at www.madelinebalaam.co.uk Port 80
-----------------------------------------------------------

I have to go straight to http://www.madelinebalaam.co.uk/install.php to get the install page but I am told:

-----------------------------------------------------------
All Requirements Pass but 1 Warning
URL rewriting support You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled.
-----------------------------------------------------------

If I try to install I get back to the 500 error.

I had assumed I just needed to get the host to enable mod_rewrite, but they tell me it is.

And it appears to be working If i try the test on this website: http://www.wallpaperama.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html

I have freshly downloaded 2.4 again to see if that would solve it and it wouldn't. I have also tried copying over the files from my own site, and that doesn't work either.

Is there something else I can try? I'm completely baffled by this and have spent over 6 hours just trying to install a fresh installation.

Avatar
Matty Balaam

Community Member, 74 Posts

10 June 2010 at 5:29am

Well,

I've gone nuclear and copied over all my files from my MAMP install, and linked to the mysql database inside mysite/_config.php. Which I didn't expect to work but I wanted to try it.

If I go to the URL: http://www.madelinebalaam.co.uk/ it then redirects to the correct homepage: http://www.madelinebalaam.co.uk/a-little-about-me/ but I then get the following error in Firefox:

-------------------------------------------------
XML Parsing Error: syntax error
Location: http://madelinebalaam.co.uk/a-little-about-me/
Line Number 1, Column 50:<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
-------------------------------------------------

Which, of course is the same '500 error' page as I was getting originally.