On May 13, 2004, at 9:52 PM, Bill Kent wrote:
Ron,
Thanks for your help on this. I modified the directory path based on your
input:
CustomLog "~/Library/Logs/apachelogs/access_log" common
I guess I need to understand more about relative paths. When I open my
terminal window and type "cd ~", that is my home directory, correct? If I
do an ls command, the Library folder is present, change directory to it and
the apachelogs folder is present. I have modified the permissions for www
for all these directories to "Read and Write". I still get the same error
message when running the apachec tl or sudo httpd command. You know of
another good directory to place the log file in so Analog can read it?
Also, are you a MAC apache user?
Thanks,
BK
From: Ron Wagner <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Thu, 13 May 2004 20:06:30 -0400
To: [EMAIL PROTECTED]
Subject: Re: [analog-help] CustomLog Directive Problems: httpd fails to start
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
+--------------------------------------------------------------------- ---
+---------------------------------------------------------------------- --
| 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
+---------------------------------------------------------------------- --
-------------------------------------------- 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 +------------------------------------------------------------------------