You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2005/01/05 20:04:52 UTC
svn commit: r124244 - /httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.html.en /httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.xml
Author: rbowen
Date: Wed Jan 5 11:04:49 2005
New Revision: 124244
URL: http://svn.apache.org/viewcvs?view=rev&rev=124244
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/branches/2.0.x/docs/manual/mod/mod_log_config.html.en
httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.xml
Modified: httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.html.en
Url: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.html.en?view=diff&rev=124244&p1=httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.html.en&r1=124243&p2=httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.html.en&r2=124244
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.html.en (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.html.en Wed Jan 5 11:04:49 2005
@@ -347,6 +347,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/branches/2.0.x/docs/manual/mod/mod_log_config.xml
Url: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.xml?view=diff&rev=124244&p1=httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.xml&r1=124243&p2=httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.xml&r2=124244
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.xml (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/mod/mod_log_config.xml Wed Jan 5 11:04:49 2005
@@ -373,6 +373,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>