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.

Installing SilverStripe /

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

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

500 Internal Server Error


Reply


4 Posts   3765 Views

Avatar
pmg

Community Member, 10 Posts

28 January 2009 at 8:19pm

Edited: 28/01/2009 8:36pm

I am totally new on silverstripe and trying to install it locally with MAMP.
I installed it once and i saw the configuration page saying that i had to get a .htaccess file, after i done that i got this:
500 Internal Server Error. No matter what i tried it for several times but i cant get it rolling?

What is wrong?

I saw something in an early post about emtying tmp/cache ?
I cant see such directory?

http://www.silverstripe.org/archive/show/14505

Avatar
BLU42 Media

Community Member, 71 Posts

29 January 2009 at 5:27am

When you set up a new SS site on MAMP, if you just drag the unzipped files to the htdocs folder, you'll miss transferring the .htaccess file. You could try dragging the unzipped SS folder to your MAMP folder and renaming it htdocs.

If that doesn't work for you, then you can create a new .htaccess file. The default .htaccess file is as follows:

### SILVERSTRIPE START ###
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>

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
Willr

Forum Moderator, 5513 Posts

29 January 2009 at 3:22pm

Have alook at your PHP error logs. It might have something that can help. You can find MAMPs logs in /Applications/MAMP/logs/

Avatar
pmg

Community Member, 10 Posts

1 February 2009 at 3:46am

Edited: 01/02/2009 3:47am

Thanks for your answers, i now have the site on my host and now it works as supposed to.
I did not get it to work with MAMP on my computer.