Portal Home > Knowledgebase > Articles Database > internal server Error 500


internal server Error 500




Posted by mahdy_sharifi, 03-07-2012, 06:41 AM
Hi : when we use LiteSpeed we had never seen internal 500 error , but when switch to Apache this error occur due customer bad rewrite role and ect. is it possible config Apache (or Nginx) to override this error ? Thanks

Posted by djfueese, 03-07-2012, 07:10 AM
Hi, Please check the permissions and ownership of the files and folders in the document root to resolve this issue. Also the error log to get more details.

Posted by flocker, 03-07-2012, 07:55 AM
Sure, nginx example http://expressica.com/2008/03/22/ngi...p-error-pages/

Posted by madaboutlinux, 03-07-2012, 09:00 AM
The Rewrite rules are written differently in Nginx and Apache, so if you switch between WebServers, you will either have to write the rules as per the new WebServer OR remove/comment them altogether in the .htaccess. The only way to override is to set AllowOverRide to None in the Apache configuration so anything written in .htaccess will have no effect. This is not a good solution though as clients may like to use .htaccess for various purposes.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Moving Hosting.. (Views: 587)

Language: