2N/A<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2N/A<
TITLE>Module mod_log_agent</
TITLE>
2N/A<!-- Background white, links blue (unvisited), navy (visited), red (active) --> 2N/A<
H1 ALIGN="CENTER">Module mod_log_agent</
H1>
2N/Acompiled in by default. It provides for logging of the client user agents.
2N/A<
LI><
A HREF="#agentlog">AgentLog</
A>
2N/A<
h2><
A name="agentlog">AgentLog</
A></
h2>
2N/A<!--%plaintext <?INDEX {\tt AgentLog} directive> --> 2N/A><
STRONG>Syntax:</
STRONG></
A> AgentLog <
EM>file-pipe</
EM><
BR>
2N/A><
STRONG>Context:</
STRONG></
A> server config, virtual host<
BR>
2N/A><
STRONG>Status:</
STRONG></
A> Extension<
BR>
2N/A><
STRONG>Module:</
STRONG></
A> mod_log_agent<
P>
2N/AThe AgentLog directive sets the name of the file to which the server will
2N/Alog the UserAgent header of incoming requests. <
EM>File-pipe</
EM> is one
2N/A<
DD>A filename relative to the <
A HREF="core.html#serverroot">ServerRoot</
A>.
2N/A<
DT> `|' followed by a command
2N/A<
DD>A program to receive the agent log information on its standard input.
2N/ANote the a new program will not be started for a VirtualHost if it inherits
2N/Athe AgentLog from the main server.
2N/A<
STRONG>Security:</
STRONG> if a program is used, then it will be
2N/Arun under the user who started httpd. This will be root if the server
2N/Awas started by root; be sure that the program is secure.<
P>
2N/A<
STRONG>Security:</
STRONG> See the <
A 2N/Adetails on why your security could be compromised if the directory
2N/Awhere logfiles are stored is writable by anyone other than the user
2N/Athat starts the server.<
P>
2N/AThis directive is provided for compatibility with NCSA 1.4.<
P>