Title: CustomLog Directive Problems: httpd fails to start
This is getting very frustrating. I am trying to change the location for the write of my access_log file through the CustomLog Directive. In the apache install for the mac, it is currently located in
/private/var/log/httpd/access_log
I have created a new folder in my home directory at the following location
/Library/Logs/apachelogs
I have modified the CustomLog Directive to reflect that
CustomLog “/Library/Logs/apachelogs/access_log” Common
, when I stop and start apache through the apachectl command, httpd fails to start. I receive the following:
sudo /usr/sbin/apachectl start
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/bgkent.conf
Processing config file: /private/etc/httpd/users/billkent.conf
Processing config file: /private/etc/httpd/users/lauren.conf
/usr/sbin/apachectl start: httpd could not be started
The only sense I can make of this is the labels in front of .conf are all the user profiles set up on my computer. Do I need to make this a relative path starting from the Macintosh hard drive? Any advice would be appreciated.
Thanks,
Bill Kent