httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake" <j...@zopezone.com>
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.

<VirtualHost 11.1.1.1.1:80>
ServerName www.domain.com
RewriteEngine on
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://www.domain.com/.*$ [NC]
RewriteRule ./*\.(gif¦GIF¦jpg¦JPG)$ - [F]
ProxyPass / http://11.11.11.11:8080/ etc....
</VirtualHost>

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

Jake

Mime
View raw message