Reputation: 3351
I'm hosting a website in a shared host, but I'm getting the 500 error. Well, I don't have access to the Apache error log file to investigate the cause of the problem.
Is there a way to change the location of the Apache error log file via .htaccess to a dir that I can access it?
Upvotes: 12
Views: 11247
Reputation: 73031
No.
According to the Apache documentation the context for the ErrorLog
directive is server config, virtual host. It would list .htaccess if it were possible.
You may have a better chance at redirecting output through the server-side technology. But the best thing to do would be to contact your host. Access to your error log should be allowed.
Upvotes: 10