all subdomain need hotlinking protection

1212312

New member
Joined
Dec 5, 2005
Messages
3
hello all,

i have many subdomain need hotlinking protection,
but i don't want one by one add the protection list,

I use .htaccess before :(but need one by one list)
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysubdomain.com(/)?.*$ [NC]

have any code can protect all subdomain??

Thanks help.
 
You might look into enabling hotlink protection for All websites through httpd.conf
I'm not absolutely sure if it can be done though.

Otherwise you'll have to write your own script to setup the hotlink protection everywhere you want automatically by dynamically generating .htaccess files.
 
Back
Top