httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Protecting Your Images
Date Mon, 22 Mar 2004 03:56:05 GMT

On Sun, 21 Mar 2004, Joshua Slive wrote:
> RewriteEngine On
> RewriteCond ${HTTP_REFERER} ^http://my\.apache\.org/
> RewriteRule .*\.(gif|jpg) - [F,L,env=poach:1]
> CustomLog logs/poachers_log combined env=poach

Of course, you'd need a ! in front of the ^http://... to get negation.

I never claimed I tested these...

Joshua.

---------------------------------------------------------------------
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