CakePHP 500 Internal Server Error on Dreamhost
cakephp, cakephp-2.1, dreamhost, hosting
Solution
I had the same issues on a MediaTemple (ve) server. Standard, plain install of CakePHP 2.1.3 in the root of my site.
The fix for me was to a RewriteBase line to the .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
So the line RewriteBase / (including the slash at the end) did the trick for me.
!important: Do this for all three .htaccess files, in: root, /app and /app/webroot folders.
Problem
When i try to host the CakePHP site on my server on DreamHost i get the following error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@reelstubs.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Link to the URL http://reelstubs.com/