4571 Posts in 1382 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3373 Views |
-
500 Internal Server Error

28 January 2009 at 8:19pm Last edited: 28 January 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? -
Re: 500 Internal Server Error

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 ### -
Re: 500 Internal Server Error

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/
-
Re: 500 Internal Server Error

1 February 2009 at 3:46am Last edited: 1 February 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.
| 3373 Views | ||
|
Page:
1
|
Go to Top |



