www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Distler <dist...@golem.ph.utexas.edu>
Subject mod_log-any/4129: Instructions for simulating RefererIgnore incorrect
Date Thu, 25 Mar 1999 16:12:41 GMT

>Number:         4129
>Category:       mod_log-any
>Synopsis:       Instructions for simulating RefererIgnore incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          doc-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Mar 25 08:20:03 PST 1999
>Originator:     distler@golem.ph.utexas.edu
>Release:        1.3.6
NextStep3.3 (hppa), with NeXT's cc compiler.
1> uname -a
NEXTSTEP golem Rose2L  7100LC 
<http://www.apache.org/docs/mod/mod_log_config.html> says:

	" Beginning with Apache 1.3.5, the mod_log_config module has also
	subsumed the RefererIgnore functionality from _mod_log_referer_. The
	effect of RefererIgnore can be achieved by combinations of _SetEnvIf_ 
	directives and conditional CustomLog definitions.

and <http://www.apache.org/docs/mod/mod_setenvif.html> gives the example

		SetEnvIf Request_URI "\.(gif)|(jpg)|(xbm)$" object_is_image
		SetEnvIf Referer www\.mydomain\.com intra_site_referral

	The first will set the envariable object_is_image if the request was
	for an image file, and the second sets intra_site_referral if the 
	referring page was somewhere on the www.mydomain.com Web site.

This does NOT, however, simulate the behaviour of the RefererIgnore directive in

The "correct" construction, which reproduces the behaviour of

	RefererIgnore www.mydomain.com


	SetEnvIf Referer "^http://www\.mydomain\.com|www\.mydomain\.com" intra_site_referral
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message