mod_log_agent.html revision 618d2847990e59c6fa82b74b160453e1048a2957
2N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2N/A<HTML>
2N/A<HEAD>
2N/A<TITLE>Module mod_log_agent</TITLE>
2N/A</HEAD>
2N/A
2N/A<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
2N/A<BODY
2N/A BGCOLOR="#FFFFFF"
2N/A TEXT="#000000"
2N/A LINK="#0000FF"
2N/A VLINK="#000080"
2N/A ALINK="#FF0000"
2N/A>
2N/A<!--#include virtual="header.html" -->
2N/A<H1 ALIGN="CENTER">Module mod_log_agent</H1>
2N/A
2N/AThis module is contained in the <CODE>mod_log_agent.c</CODE> file, and is not
2N/Acompiled in by default. It provides for logging of the client user agents.
2N/A
2N/A
2N/A<UL>
2N/A<LI><A HREF="#agentlog">AgentLog</A>
2N/A</UL>
2N/A<HR>
2N/A
2N/A
2N/A<h2><A name="agentlog">AgentLog</A></h2>
2N/A<!--%plaintext &lt;?INDEX {\tt AgentLog} directive&gt; -->
2N/A<A
2N/A HREF="directive-dict.html#Syntax"
2N/A REL="Help"
2N/A><STRONG>Syntax:</STRONG></A> AgentLog <EM>file-pipe</EM><BR>
2N/A<A
2N/A HREF="directive-dict.html#Default"
2N/A REL="Help"
2N/A><STRONG>Default:</STRONG></A> <CODE>AgentLog logs/agent_log</CODE><BR>
2N/A<A
2N/A HREF="directive-dict.html#Context"
2N/A REL="Help"
2N/A><STRONG>Context:</STRONG></A> server config, virtual host<BR>
2N/A<A
2N/A HREF="directive-dict.html#Status"
2N/A REL="Help"
2N/A><STRONG>Status:</STRONG></A> Extension<BR>
2N/A<A
2N/A HREF="directive-dict.html#Module"
2N/A REL="Help"
2N/A><STRONG>Module:</STRONG></A> mod_log_agent<P>
2N/A
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/Aof
2N/A<DL><DT>A filename
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</DL>
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
2N/A<STRONG>Security:</STRONG> See the <A
2N/AHREF="/misc/security_tips.html">security tips</A> document for
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/A
2N/AThis directive is provided for compatibility with NCSA 1.4.<P>
2N/A
2N/A<!--#include virtual="footer.html" -->
2N/A</BODY>
2N/A</HTML>
2N/A
2N/A