[pLog-svn] Anti-Hotlink via .htaccess
Alexander Kaiser
poolie at gmail.com
Fri Sep 16 07:33:15 GMT 2005
Prevent Hotlinking of Images outside of the pLog Community via .htaccess:
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9]+)\.yourdomain\.com(.*) [NC]
RewriteRule resserver.php?.*$ - [F,NC]
seems pretty easy and works well on our installation.
this allows all subdomains on "yourdomain.com" to use the
resserver.php (which handles the images stuff) and everybody else gets
a red cross :)
More information about the pLog-svn
mailing list