From: Rich Bowen
Date: Wed, 5 Jan 2005 19:04:49 +0000 (+0000)
Subject: This has been coming up rather frequently on IRC, and it's a good
X-Git-Tag: 2.0.53~98
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ece9a57c1dd385d7793b5e7b1257993a839f4925;p=thirdparty%2Fapache%2Fhttpd.git
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/branches/2.0.x@124244 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en
index 64a5917093e..d55249e6d8f 100644
--- a/docs/manual/mod/mod_log_config.html.en
+++ b/docs/manual/mod/mod_log_config.html.en
@@ -347,6 +347,14 @@
CustomLog nongif-requests.log common env=!gif-image
+ Or, to reproduce the behavior of the old RefererIgnore
+ directive, you might use the following:
+
+
+ SetEnvIf Referer example\.com localreferer
+ CustomLog referer.log referer env=!localreferer
+
+
diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml
index da1afb628d5..207713a87a0 100644
--- a/docs/manual/mod/mod_log_config.xml
+++ b/docs/manual/mod/mod_log_config.xml
@@ -373,6 +373,14 @@
CustomLog gif-requests.log common env=gif-image
CustomLog nongif-requests.log common env=!gif-image
+
+
Or, to reproduce the behavior of the old RefererIgnore
+ directive, you might use the following:
+
+
+ SetEnvIf Referer example\.com localreferer
+ CustomLog referer.log referer env=!localreferer
+