Fking
12-13-2004, 09:10 PM
have disabled hotlinking doing this in my main .htaccess file
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain1.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain1.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain2.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain2.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://domain1.com [R,NC]
infact this was build automaticaly by cpanel
well now i want to make the hotlinking allowed for domain2.com
how?
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain1.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain1.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain2.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain2.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://domain1.com [R,NC]
infact this was build automaticaly by cpanel
well now i want to make the hotlinking allowed for domain2.com
how?