summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_log_config.html.en
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2005-01-05 20:08:24 +0100
committerRich Bowen <rbowen@apache.org>2005-01-05 20:08:24 +0100
commit12e2cddbee7dcd8294cd25f52532b8c567d8dbcc (patch)
tree37484219b9f834af969ec60c40ded27f408c7254 /docs/manual/mod/mod_log_config.html.en
parent A few new modules/debug/ projects which need base addr's. (diff)
downloadapache2-12e2cddbee7dcd8294cd25f52532b8c567d8dbcc.tar.xz
apache2-12e2cddbee7dcd8294cd25f52532b8c567d8dbcc.zip
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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124246 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_log_config.html.en')
-rw-r--r--docs/manual/mod/mod_log_config.html.en8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en
index e72c1d4e49..89af06731c 100644
--- a/docs/manual/mod/mod_log_config.html.en
+++ b/docs/manual/mod/mod_log_config.html.en
@@ -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>