dgaudet     98/03/29 11:11:58

  Modified:    src      CHANGES
               conf     httpd.conf-dist httpd.conf-dist-win
  Log:
  give CustlomLog examples rather than examples of the old directives
  
  Submitted by: Lars Eilebrecht
  
  Revision  Changes    Path
  1.748     +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.747
  retrieving revision 1.748
  diff -u -r1.747 -r1.748
  --- CHANGES   1998/03/29 12:27:31     1.747
  +++ CHANGES   1998/03/29 19:11:54     1.748
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b6
   
  +  *) Modify the log directives in httpd.conf-dist files to use CustomLog
  +     so that users have examples of how CustomLog can be used.
  +     [Lars Eilebrecht]
  +
     *) Add the new Apache Autoconf-style Interface (APACI) for the top-level of
        the Apache distribution tree.  Until Apache 1.3 there was no real
        out-of-the-box batch-capable build and installation procedure for the
  
  
  
  1.24      +22 -3     apache-1.3/conf/httpd.conf-dist
  
  Index: httpd.conf-dist
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/conf/httpd.conf-dist,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- httpd.conf-dist   1998/03/27 11:00:22     1.23
  +++ httpd.conf-dist   1998/03/29 19:11:57     1.24
  @@ -74,10 +74,29 @@
   
   LogLevel warn
   
  -# TransferLog: The location of the transfer log file. If this does not
  -# start with /, ServerRoot is prepended to it.
  +# The following directives define some format nicknames for use with
  +# a CustomLog directive (see below).
   
  -TransferLog logs/access_log
  +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
  +
  +# The location of the access logfile (Common Logfile Format).
  +# If this does not start with /, ServerRoot is prepended to it.
  +
  +CustomLog logs/access_log common
  +
  +# If you would like to have an agent and referer logfile uncomment the
  +# following directives.
  +
  +#CustomLog logs/referer_log referer
  +#CustomLog logs/agent_log agent
  +
  +# If you prefer a single logfile with access, agent and referer information
  +# (Combined Logfile Format) you can use the following directive.
  +
  +#CustomLog logs/access_log combined
   
   # PidFile: The file the server should log its pid to
   PidFile logs/httpd.pid
  
  
  
  1.12      +22 -3     apache-1.3/conf/httpd.conf-dist-win
  
  Index: httpd.conf-dist-win
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/conf/httpd.conf-dist-win,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- httpd.conf-dist-win       1998/03/21 17:34:04     1.11
  +++ httpd.conf-dist-win       1998/03/29 19:11:57     1.12
  @@ -79,10 +79,29 @@
   
   LogLevel warn
   
  -# TransferLog: The location of the transfer log file. If this does not
  -# start with /, ServerRoot is prepended to it.
  +# The following directives define some format nicknames for use with
  +# a CustomLog directive (see below).
   
  -TransferLog logs/access_log
  +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
  +
  +# The location of the access logfile (Common Logfile Format).
  +# If this does not start with /, ServerRoot is prepended to it.
  +
  +CustomLog logs/access_log common
  +
  +# If you would like to have an agent and referer logfile uncomment the
  +# following directives.
  +
  +#CustomLog logs/referer_log referer
  +#CustomLog logs/agent_log agent
  +
  +# If you prefer a single logfile with access, agent and referer information
  +# (Combined Logfile Format) you can use the following directive.
  +
  +#CustomLog logs/access_log combined
   
   # PidFile: The file the server should log its pid to
   PidFile logs/httpd.pid
  
  
  

Reply via email to