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
500 internal server error
Moderator: Staff
cPanel Server Management
@ 30$ Onwards
@ 30$ Onwards
Re: 500 internal server error
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
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