Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache 1.3.19 what the...

Status
Not open for further replies.

sarm

Programmer
Aug 13, 2001
77
US
Hello,
I recently was browsing through the httpd file and came upon this(need to fix this). What does this mean to me? I haven't got a clue what any of this means. This is the way the file appeared right out of the box. It hasn't affected apache running but I would like to know what It means.

# Need to fix this
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /var/log/httpd/access_log common

Thanks Again
 
Hi,



LogFormat is used by mod_log_config to define what information is written to apache log files. The % variables are just defining the environmental variables to log. For example :



%a remote host IP address

%h remote host name

%U URL path requested



etc, etc. See --> .



The default format is the common log format --> There is also the extended version --> .



So, basically, I wouldn't worry too much about that unless it affects any log analysis thats going on...



Regards
 
It really has nothing to do with you fixing anything. What he's saying is that that section of code is just a hack or workaround. It looks real funky so he's gonna make it look better. Trust me, I'm ok, you're ok. :eek:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top