At 17:15 -1000 4/15/01, cameason wrote:
>I can't seem to find apache's .conf files or logs anywhere.

[localhost:~] john% sudo find / -name httpd.conf -ls
Password:
find: /dev/fd/4: No such file or directory
100391   72 -rw-r--r--    1 root     wheel       35400 Mar 25 12:57
/private/etc/httpd/httpd.conf

(pay no attention to the gremlin in /dev/fd/4 ;-)  I wonder what it is.)
And for many purposes you can ignore the /private, since /etc is a link to
/private/etc.

Based on this snippet from /etc/daily,
if [ -d /var/log/httpd ]; then
    echo ""
    echo -n "Cleaning web server log files:"
    cd /var/log/httpd && \
        find . -type f -name '*_log.*' -mtime +7 -exec rm -f -- {}
\; >/dev/null 2>&1;
fi

I'd say that the Apache logs might turn up in /var/log/httpd.
But I haven't turned the web server on.

yes...from httpd.conf
ErrorLog "/private/var/log/httpd/error_log"
CustomLog "/private/var/log/httpd/access_log" common

(Same remark as above about /private.)

(Which you couldn't see until you found httpd.conf, of course.)

  --John




-- 
John Baxter   [EMAIL PROTECTED]      Port Ludlow, WA, USA

Reply via email to