Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug "internal server error"?

When you do changes to .htaccess files and something is wrong with it you get "Internal server error". That doesn't help me. How can I find out what's the actual error?

like image 798
thelolcat Avatar asked Feb 15 '23 23:02

thelolcat


1 Answers

Error cause should be saved in server logs. Where it's exactly depends on your server and settings.

Eg. in apache2 log file is defined in ErrorLog in your config or in virtual host.

like image 173
Elon Than Avatar answered Feb 22 '23 23:02

Elon Than