You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "David P. Donahue" <dd...@ccs.neu.edu> on 2005/06/23 17:41:35 UTC

[users@httpd] Referrer Problems

Running Apache 1.3.31 on Slackware 10.0

In my httpd.conf file, I have the following:

SetEnvIfNoCase Referer "^http://www.cyber0ne.com/" local_ref=1
<FilesMatch ".jpg">
     Order Allow,Deny
     Allow from env=local_ref
</FilesMatch>

The idea being that the server will only return a .jpg file if it was 
referred from a page on my website.  However, often enough to be of 
concern, users are often (but not always) denied .jpg files even with 
the proper referrer in the headers.  My error_log file shows that the 
"client was denied by server configuration."  However, my referrer_log 
file shows the proper referrer.  Also, if it was the case that the user 
had turned off their referrers for some reason, they would be denied 
_all_ .jpg files.  But they are only denied some at random times with no 
discernable pattern.

Any idea what might be causing this?  Is there a better approach to 
securing .jpg files from outside linkage than what I am doing?  Any help 
would be much appreciated, thanks.


Regards,
David P. Donahue
ddonahue@ccs.neu.edu

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org