[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] .htaccess to pevent hotlinking Raq4
- Subject: Re: [cobalt-users] .htaccess to pevent hotlinking Raq4
- From: "Dave~" <cobaltraq4@xxxxxxx>
- Date: Thu Sep 26 18:45:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message -----
Subject: RE: [cobalt-users] .htaccess to pevent hotlinking Raq4
> I was using the following in my /images directory and the only problem
> seemed to be when anyone accessed the main page without the closing /.
>
> RewriteEngine on
> RewriteCond %{HTTP_REFERER} !^$
> RewriteCond %{HTTP_REFERER} !^http://www.sample.com/.*$ [NC]
> RewriteCond %{HTTP_REFERER} !^http://sample.com/.*$ [NC]
> RewriteRule .*\.gif$ - [F]
>
> RewriteCond %{HTTP_REFERER} !^$
> RewriteCond %{HTTP_REFERER} !^http://www.sample.com/.*$ [NC]
> RewriteCond %{HTTP_REFERER} !^http://sample.com/.*$ [NC]
> RewriteRule .*\.jpg$ - [F]
Thanks for the attempt Dan, however all images are still broken even when I
type:
http://www.mydomain.com/ -manually
Does it matter that the nameservers are the same as my domain? I have
mydomain.com (site1) and my nameservers are ns1.mydomain.com and
ns2.mydomain.com...
Thanks,
Dave~