httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake" <>
Subject Blocking hotlinking and using Proxy Pass & mod_rewrite
Date Mon, 24 May 2004 17:05:56 GMT
I have been trying to figure out how to block hotlinking of images from my
sites while also using proxy pass.

I have tried tweaking it a few different ways, but this configuration just
will not work.

RewriteEngine on
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^*$ [NC]
RewriteCond %{HTTP_REFERER}!^*$ [NC]
RewriteRule ./*\.(gif¦GIF¦jpg¦JPG)$ - [F]
ProxyPass / etc....

Is there something with ProxyPass that will not work in front of mod_rewrite?


View raw message