RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?example\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png) /images/nohotlink.jpe [L]
Where you would have a line like the example.com line for every domain that is in fact allowed to hotlink. This is something that could go in a .htaccess file, and would be fairly trivial to write code to drop an additional line in automatically when somebody gets added as a member/partner/whatever.You are not logged in, either login or create an account to post comments
posted by hattifattener at 7:51 PM on October 17