500 internal server error

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..

Moderator: Staff

Post Reply
sachin
Posts: 0
Joined: Thu Mar 31, 2016 8:33 am

500 internal server error

Post 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


Martin
Posts: 36
Joined: Fri Sep 16, 2016 10:34 am

Re: 500 internal server error

Post 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


If you are looking for assistance in server management, please get in touch with our support.
Post Reply