b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 2254169 (Thread)

# This works for me.

RewriteEngine on

RewriteRule images/image1\.gif$ - [R,L]
RewriteRule images/image2\.jpg$ - [R,L]
RewriteRule nosteal.gif$ - [R,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://pub([0-9]+)\.ezboard\.com/b([a-z0-9]*)\.showUserPublicProfile\?gid\=ezuser [NC]
RewriteCond %{HTTP_REFERER} !^http://pub([0-9]+)\.ezboard.com/(f|b)ezboard.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?u-muppet.co.uk$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?u-muppet.co.uk/.*$ [NC]
RewriteRule \.(gif|jpg)$ u-muppet.co.uk/nosteal.gif [R,L]

RewriteRule css/test\.css$ - [R,L]
RewriteRule bob\.js$ - [R,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://pub([0-9]+)\.ezboard\.com/b([a-z0-9]*)\.showUserPublicProfile\?gid\=ezuser [NC]
RewriteCond %{HTTP_REFERER} !^http://pub([0-9]+)\.ezboard.com/(f|b)ezboard.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?u-muppet.co.uk$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?u-muppet.co.uk/.*$ [NC]
RewriteRule \.(css|js)$ - [F]

(, Sun 2 Nov 2003, 10:54, archived)
# count yourself lucky
I`m gonna have to write a Java URL filter for my web server :-)
(, Sun 2 Nov 2003, 11:00, archived)