httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r124246 - /httpd/httpd/trunk/docs/manual/mod/mod_log_config.html.en /httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml
Date Wed, 05 Jan 2005 19:08:25 GMT
Author: rbowen
Date: Wed Jan  5 11:08:24 2005
New Revision: 124246

URL: http://svn.apache.org/viewcvs?view=rev&rev=124246
Log:
This has been coming up rather frequently on IRC, and it's a good
example. It's alluded to in the SetEnvIf docs, but it's not a complete
example there.

Modified:
   httpd/httpd/trunk/docs/manual/mod/mod_log_config.html.en
   httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_log_config.html.en
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/mod/mod_log_config.html.en?view=diff&rev=124246&p1=httpd/httpd/trunk/docs/manual/mod/mod_log_config.html.en&r1=124245&p2=httpd/httpd/trunk/docs/manual/mod/mod_log_config.html.en&r2=124246
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_log_config.html.en	(original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_log_config.html.en	Wed Jan  5 11:08:24 2005
@@ -346,6 +346,14 @@
       CustomLog nongif-requests.log common env=!gif-image
     </code></p></div>
 
+    <p>Or, to reproduce the behavior of the old RefererIgnore
+    directive, you might use the following:</p>
+
+    <div class="example"><p><code>
+    SetEnvIf Referer example\.com localreferer<br />
+    CustomLog referer.log referer env=!localreferer
+    </code></p></div>
+
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
 <div class="directive-section"><h2><a name="LogFormat" id="LogFormat">LogFormat</a>
<a name="logformat" id="logformat">Directive</a></h2>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml?view=diff&rev=124246&p1=httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml&r1=124245&p2=httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml&r2=124246
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml	(original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml	Wed Jan  5 11:08:24 2005
@@ -372,6 +372,14 @@
       CustomLog gif-requests.log common env=gif-image<br />
       CustomLog nongif-requests.log common env=!gif-image
     </example>
+
+    <p>Or, to reproduce the behavior of the old RefererIgnore
+    directive, you might use the following:</p>
+
+    <example>
+    SetEnvIf Referer example\.com localreferer<br />
+    CustomLog referer.log referer env=!localreferer
+    </example>
 </usage>
 </directivesynopsis>
 

Mime
View raw message