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

Internal Server Error


Go to End


5 Posts   5343 Views

Avatar
mejobloggs

Community Member, 11 Posts

19 December 2008 at 5:32pm

I've uploaded the silverstripe files 2.3rc2 to my website in a silverstripe folder.

When I go to www.mysite.com/silverstripe/ I get the following error:

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

From what I've seen on the forums, this is because mod_rewrite is not enabled, yet the hosting guys assure me that it is.

Any other suggestions on how to fix the problem? Or maybe the hosting guys are wrong, and it's actually not enabled?

Avatar
Liam

Community Member, 470 Posts

19 December 2008 at 7:16pm

Check your log files to see what exactly the error is.

It could be anything really, but the logs would say specifically.

I doubt it's mod rewrite fwiw.

Avatar
ultramedia

Community Member, 4 Posts

22 December 2008 at 10:26pm

I get this problem too, here is the alert from the last line of my apache error log :

[Mon Dec 22 19:15:43 2008] [alert] [client 127.0.0.1] D:/server/www_silver_dev/.htaccess: RewriteBase takes one argument, the base URL of the per-directory context

And here is the .htaccess file contents (this was just what came with SS).

### SILVERSTRIPE START ###
RewriteEngine On
RewriteBase \

RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###

Avatar
ultramedia

Community Member, 4 Posts

24 December 2008 at 1:05am

Got it :)

Change the following :

RewriteBase \

to :

RewriteBase /

(p.s. I'm on vista)

Avatar
mejobloggs

Community Member, 11 Posts

1 February 2009 at 10:28pm

My error log says "/home/mywebsite.co.nz/public_html/silverstripe/.htaccess: DirectorySlash not allowed here"