I'd like to know where can I find apache's error log.
According to a website that I read, it should be at /var/log/httpd/error_log
But I don't have the httpd directory on /var/log
Find apache error_log on CentOS
apache-2.2
Related Topic
- Redirect, Change URLs or Redirect HTTP to HTTPS in Apache – Everything You Ever Wanted to Know About mod_rewrite Rules but Were Afraid to Ask
- Can’t find apache error logs
- Linux – Can’t restart Apache (HTTPD)
- Apache Basic HTTP Authentication Not Working – Troubleshooting Guide
- Linux Web Server – Proper Permissions for Website Files and Folders
Best Answer
Check your httpd.conf
The LogFile variable tells you where apache is writing logs. This value is often (always?) relative to the ServerRoot variable.