Can I get a second set of eyes. VHost error logs cause error
I am running
CentOS Linux release 7.0.1406 (Core) I created a Virtualhost, and when I restart httpd, it fails. I used journalctl -l to see error. I lost it in my history, the only way is to regenerate the problem. If I have to I will, but it was not specific at all. Journal just told me what I knew, it tried to start and failed. After triple checking the paths, I started commenting out sections like the <Directory>, etc. Once I commented out the error logs, the server started and is running. Uncommenting the error section, httpd fails to start. Code:
#LOG FILES Here is the complete VirtualHost. Any Ideas? Code:
<VirtualHost *:80> |
Quote:
Anyways, if you insist on that, then I guess it's SELinux that's not allowing apache to write it logs into docroot Regards |
Quote:
|
I change the logs to /var/log/httpd/mysite_error.log, and it worked. thank you again.
|
All times are GMT -5. The time now is 12:22 AM. |