httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rott" <r...@buckeye-express.com>
Subject [users@httpd] Protecting Your Images
Date Sun, 21 Mar 2004 00:52:51 GMT
Im using apache 2.0.47 on a win2000 Pro  computer and I want to protect my
gif's and jpeg's I found this nice code for doing that but every time I
start apache I get and error from apache
RewriteCond: bad flag delimiters

 the code is found here
http://www.serverwatch.com/tutorials/article.php/10825_1132731_4

SetEnvIfNoCase Referer !"^http://my.apache.org/" not_local_ref=1
SetEnvIfNoCase Request_URI ".(gif|jpg)" is_image=1
RewriteEngine On
RewriteCond $ {ENV:not_local_ref} =1
RewriteCond $ {ENV:is_image} =1
RewriteRule .* - [Last,Env=poach_attempt:1]
CustomLog logs/poachers_log CLF env=poach_attempt

I have googled for it and found some things but nothing that really helped
me fix it


Dale


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