Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Log file locations


Lindsey Kuper

4:19 am on Jan 18, 2004 (gmt 0)

10+ Year Member

Hi, I'm new around here. =)

I've started mucking around with my log files and I've noticed that by default, the same logs are written to /var/log/httpd/ and /etc/httpd/logs/. Why does Apache do this, and should I care?



8:45 am on Jan 18, 2004 (gmt 0)

10+ Year Member

Welcome to Webmaster World, Lindsey! (not sure if just anybody can say that or if it should be an official welcome by a moderator, but welcome anyway!)

Those "two" versions you're seeing are two ways of describing the same files. In Redhat Linux for example (which you might be using) the directory "/etc/httpd/logs" is a symbolic link to /var/log/httpd - i.e. an alternate name for that directory.

So there's only one copy really, and it only uses one lot of space. If you have shell access to the server, you can see this with the command "ls -l /etc/h*".

Lindsey Kuper

10:45 pm on Jan 18, 2004 (gmt 0)

10+ Year Member

Ah, thanks. *hits forehead* I didn't even think of that.

Oh, and this is my own web server, sitting here next to me, so yeah, I guess you could say I have shell access. ;)


Featured Threads

Hot Threads This Week

Hot Threads This Month