Forum Moderators: phranque
LogFormat COMBINED
ErrorLog /home/domain-name/htdocs/logs/error_log
TransferLog /home/domain-name/htdocs/logs/access_log
I'm using RedHat Enterprise ES with Apache 2.0
The problem might be that the logfile directory doesn't exist? Apache won't create the dir if it's not there. I've often had problems with that, adding a new VHost, and Apache dies quietly without complaining about it to the screen.
check something like /etc/httpd/log/httpd.log, and I'll bet you that it's b/c the logfile dirs don't exist. Oh, and they should be writable by the apache user as well.
HTH,
-MM
Thank You!
One last question on these log files. I went into that directory and noticed Apache created the "access_log" and "error_log" files... but there is nothing in them after I visited a page (I visited the page via IP address). Any thoughts on why it isn't writing to the log files even though it created them?