Cakephp internal server error
I'm getting Internal Server Error when I switched over App folder with a new App folder from another server. I have reconfigured the database credentials but it's still not working.
Do you have any idea what this is for?
The site is ldr开发者_Go百科.com.au
Below is what I have in .htaccess of app folder:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
Thank you.
If you are stand on Root folder
your .htaccess should like
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
If you are stand in to app folder
your .htaccess should like
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
See this for more information: http://book.cakephp.org/view/917/Apache-and-mod_rewrite-and-htaccess
I'm not understanding your problem, but I think you will find your answer up there.
精彩评论