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
[EMAIL PROTECTED]

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to