Page 1 of 1

500 internal server error

Posted: Fri Apr 01, 2016 11:08 am
by sachin
If I install the multiscraper under my website as http://example.com/multiscraper/

this gives internel server error due to htaccess but if i remove that then
mod rewrite is disable and that also crash my code

Re: 500 internal server error

Posted: Thu Sep 22, 2016 3:45 pm
by Martin
Hi,

First Check apache error log for exact error message because 500 errors are usually due to invalid .htaccess entries. On cPanel servers apache logs are saved in /usr/local/apache/logs directory and on other servers (without control panel) apache logs are usually in /etc/httpd/logs directory.

Use tail command to view the last lines of apache error_log

tail -n 10 /usr/local/apache/logs/error_log

tail -n 10 /etc/httpd/logs/error_log

Error logs might shows the exact line in .htaccess that is causing the issue. If there is no enough information in the logs then you can comment lines in .htaccess file one by one and check the site. By doing this you can find the exact rule in .htaccess that is causing the issue.


Martin
Support Staff
Nixtree Solutions
Managed Backups || Server Management
https://www.nixtree.com