310 Posts in 82 Topics by 148 members
| Go to End | Next > | |
| Author | Topic: | 3217 Views |
-
Internal Server Error issue

20 October 2009 at 4:11am
i know that this issue has been posted countless times however none of the answer that I have found seemed to solve my problem.
Here is my .htaccess:
### SILVERSTRIPE START ###
DirectorySlash Off
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from 212.113.133.130
</Files><IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase onedoorRewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###For the RewriteBase writing onedoor or onedoor/ will result in raising the 500 error.
Then anything else will cause an error like : "cannot find some directory tried/sapphire/main.php on the server".
I have been trying to work this out for days now and I feel like I really need help on this issue.I will appreciate any suggestion or help!!
Oh and whne i try to get the error.log of the server, there is nothing in it.
-
Re: Internal Server Error issue

20 October 2009 at 4:16am
Your RewriteBase should start with a slash. Eg. RewriteBase /onedoor
-
Re: Internal Server Error issue

20 October 2009 at 4:18am
if try /onedoor i get this answer: "/onedoor/sapphire/main.php was not found on this server"
-
Re: Internal Server Error issue

20 October 2009 at 8:42am
Hm it should work. Your SilverStripe installation is located in the <webroot>/onedoor directory, right? Your URL will therefore be in the form of: http://mydomain.xx/onedoor/. Is that correct?
-
Re: Internal Server Error issue

20 October 2009 at 11:04am
Yes that is correct! But each time I use RewriteBase /onedoor it says "The URL /onedoor/sapphire/main.php was not found on this server"
-
Re: Internal Server Error issue

20 October 2009 at 12:09pm
Could it be a permission problem? Can you access a file from the sapphire folder directly? eg. http://mysite.xx/onedoor/sapphire/Makefile ?
-
Re: Internal Server Error issue

20 October 2009 at 12:47pm
No I got the same internal server error!!
-
Re: Internal Server Error issue

20 October 2009 at 8:04pm
There's maybe a permission issue. Check the permissions on the onedoor folder. It could also be a misconfiguration in the .htaccess file. Try to remove the DirectorySlash and <Files *.ss> directives. Also check if mod_rewrite is properly installed and that you have a valid .htaccess (or no .htaccess) in your webroot.
| 3217 Views | ||
| Go to Top | Next > |


