KittyCat
09-16-2001, 01:40 PM
Is it possible to protect your out scripts from direct access like you can with your pics via htaccess ???
RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://w*\.*mysite.com
RewriteCond %{HTTP_REFERER} !^http://w*\.*myothersite.com
RewriteRule .*[Cc][Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.mysite.com/hotlink.html
Anyone know if this would work???
RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://w*\.*mysite.com
RewriteCond %{HTTP_REFERER} !^http://w*\.*myothersite.com
RewriteRule .*[Cc][Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.mysite.com/hotlink.html
Anyone know if this would work???