[thelist] Hotlinking htaccess problem to resolve

John C Bullas jcbullas at nildram.co.uk
Sat Nov 15 10:46:40 CST 2003


RewriteEngine on
RewriteCond %{HTTP_REFERER} ^[http|nttp].*$
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?fatblokeracing.org/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png)$ 
http://www.fatblokeracing.org/sharedimages/badimage.gif [R,L]

anyone know how to modify this to allow ONLY my server (the host) and.....

<anything>google<dot><any three letters max>

to view the image as well?

Sad that one lister told me what was wrong with
the original request:<google><dot><anything>

but was unable to provide the right answer :(

FB 



More information about the thelist mailing list