Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 65599 invoked from network); 13 Nov 2005 08:02:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Nov 2005 08:02:08 -0000 Received: (qmail 49289 invoked by uid 500); 13 Nov 2005 08:02:07 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 49252 invoked by uid 500); 13 Nov 2005 08:02:07 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 49241 invoked by uid 99); 13 Nov 2005 08:02:07 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 13 Nov 2005 00:02:06 -0800 Received: (qmail 65508 invoked by uid 65534); 13 Nov 2005 08:01:46 -0000 Message-ID: <20051113080146.65505.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r332942 - in /httpd/httpd/trunk/docs/manual: logs.html.en logs.xml sections.html.en sections.xml Date: Sun, 13 Nov 2005 08:01:45 -0000 To: cvs@httpd.apache.org From: jerenkrantz@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: jerenkrantz Date: Sun Nov 13 00:01:43 2005 New Revision: 332942 URL: http://svn.apache.org/viewcvs?rev=332942&view=rev Log: Plug some holes in the current documentation. Modified: httpd/httpd/trunk/docs/manual/logs.html.en httpd/httpd/trunk/docs/manual/logs.xml httpd/httpd/trunk/docs/manual/sections.html.en httpd/httpd/trunk/docs/manual/sections.xml Modified: httpd/httpd/trunk/docs/manual/logs.html.en URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/logs.html.en?rev=332942&r1=332941&r2=332942&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/logs.html.en (original) +++ httpd/httpd/trunk/docs/manual/logs.html.en Sun Nov 13 00:01:43 2005 @@ -538,7 +538,26 @@

Other Log Files

- + + +

Logging actual bytes sent and recieved

+ + +

mod_logio adds in two additional + LogFormat fields + (%I and %O) that log the actual number of bytes received and sent + on the network.

+ + +

Forensic Logging

+ + +

mod_log_forensic provides for forensic logging of + client requests. Logging is done before and after processing a + request, so the forensic log contains two log lines for each + request. The forensic logger is very strict with no customizations. + It can be an invaluable debugging and security tool.

+

PID File

Modified: httpd/httpd/trunk/docs/manual/logs.xml URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/logs.xml?rev=332942&r1=332941&r2=332942&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/logs.xml (original) +++ httpd/httpd/trunk/docs/manual/logs.xml Sun Nov 13 00:01:43 2005 @@ -567,10 +567,14 @@ + mod_logio + mod_log_forensic mod_cgi mod_rewrite + LogFormat + ForensicLog PidFile RewriteLog RewriteLogLevel @@ -579,6 +583,25 @@ ScriptLogLength + +
+ Logging actual bytes sent and recieved + +

mod_logio adds in two additional + LogFormat fields + (%I and %O) that log the actual number of bytes received and sent + on the network.

+
+ +
+ Forensic Logging + +

mod_log_forensic provides for forensic logging of + client requests. Logging is done before and after processing a + request, so the forensic log contains two log lines for each + request. The forensic logger is very strict with no customizations. + It can be an invaluable debugging and security tool.

+
PID File Modified: httpd/httpd/trunk/docs/manual/sections.html.en URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/sections.html.en?rev=332942&r1=332941&r2=332942&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/sections.html.en (original) +++ httpd/httpd/trunk/docs/manual/sections.html.en Sun Nov 13 00:01:43 2005 @@ -39,15 +39,16 @@

Types of Configuration Section Containers

- +

There are two basic types of containers. Most containers are evaluated for each request. The enclosed directives are applied only -for those requests that match the containers. The <IfDefine> and <IfModule> containers, on the -other hand, are evaluated only at server startup and restart. If -their conditions are true at startup, then the enclosed directives -will apply to all requests. If the conditions are not true, the -enclosed directives will be ignored.

+for those requests that match the containers. The <IfDefine>, <IfModule>, and +<IfVersion> +containers, on the other hand, are evaluated only at server startup +and restart. If their conditions are true at startup, then the +enclosed directives will apply to all requests. If the conditions are +not true, the enclosed directives will be ignored.

The <IfDefine> directive encloses directives that will only be applied if an appropriate @@ -82,8 +83,24 @@ </IfModule>

-

Both <IfDefine> -and <IfModule> +

The <IfVersion> +directive is very similar to <IfDefine> and <IfModule>, except it encloses directives that will +only be applied if a particular version of the server is executing. This +module is designed for the use in test suites and large networks which have to +deal with different httpd versions and different configurations.

+ +

+ <IfVersion >= 2.1>
+ + # this happens only in versions greater or
+ # equal 2.1.0.
+
+ </IfVersion> +

+ +

<IfDefine>, +<IfModule>, and the +<IfVersion> can apply negative conditions by preceding their test with "!". Also, these sections can be nested to achieve more complex restrictions.

Modified: httpd/httpd/trunk/docs/manual/sections.xml URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/sections.xml?rev=332942&r1=332941&r2=332942&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/sections.xml (original) +++ httpd/httpd/trunk/docs/manual/sections.xml Sun Nov 13 00:01:43 2005 @@ -37,6 +37,7 @@ core +mod_version mod_proxy @@ -46,6 +47,7 @@ FilesMatch IfDefine IfModule +IfVersion Location LocationMatch Proxy @@ -57,12 +59,13 @@

There are two basic types of containers. Most containers are evaluated for each request. The enclosed directives are applied only for those requests that match the containers. The IfDefine and IfModule containers, on the -other hand, are evaluated only at server startup and restart. If -their conditions are true at startup, then the enclosed directives -will apply to all requests. If the conditions are not true, the -enclosed directives will be ignored.

+type="section" module="core">IfDefine, IfModule, and +IfVersion +containers, on the other hand, are evaluated only at server startup +and restart. If their conditions are true at startup, then the +enclosed directives will apply to all requests. If the conditions are +not true, the enclosed directives will be ignored.

The IfDefine directive encloses directives that will only be applied if an appropriate @@ -99,8 +102,26 @@ </IfModule> -

Both IfDefine -and IfModule +

The IfVersion +directive is very similar to IfDefine and IfModule, except it encloses directives that will +only be applied if a particular version of the server is executing. This +module is designed for the use in test suites and large networks which have to +deal with different httpd versions and different configurations.

+ + + <IfVersion >= 2.1>
+ + # this happens only in versions greater or
+ # equal 2.1.0.
+
+ </IfVersion> +
+ +

IfDefine, +IfModule, and the +IfVersion can apply negative conditions by preceding their test with "!". Also, these sections can be nested to achieve more complex restrictions.

@@ -495,4 +516,3 @@
-