4577 Posts in 1388 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3403 Views |
-
Internal Server Error

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

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

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

24 December 2008 at 1:05am
Got it
Change the following :
RewriteBase \
to :
RewriteBase /
(p.s. I'm on vista)
-
Re: Internal Server Error

1 February 2009 at 10:28pm
My error log says "/home/mywebsite.co.nz/public_html/silverstripe/.htaccess: DirectorySlash not allowed here"
| 3403 Views | ||
|
Page:
1
|
Go to Top |


