httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David P. Donahue" <ddona...@ccs.neu.edu>
Subject [users@httpd] Referrer Problems
Date Thu, 23 Jun 2005 15:41:35 GMT
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


Mime
View raw message