On May 13, 2004, at 6:29 PM, Bill Kent wrote:
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
Bill, /Library/Logs/apachelogs is not in your home directory. ~/Library/Logs/apachelogs would be.
Make sure your /Library/Logs/apachelogs directory is indeed in /Library and not the Library in your home directory. It should be owned and writable by root.
If it still won't start try to start it with sudo /usr/sbin/httpd on the command line and see if it returns any errors in Terminal.
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
-------------------------------------------- Ron Wagner Wagner Technologies LLC 10 Old Farm Road Tolland CT 06084-3918 860-871-1874 [EMAIL PROTECTED] --------------------------------------------
+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------