View Full Version : htaccess question...
I need to add something to my .htaccess that will accomplish the following - while still
protecting me from all other hotlinkers...
I want to be able to allow a specific site access to hotlinking a specific image that I could put
separately on it's on url if necessary...
and in the future if I wanted to allow one or two other specific domain names access to
hotlinking a specific image would that cause a conflict in the .htaccess of can whatever
works to allow one specific site access also be configured in a manner to allow the other
one or two domain names access to the ONE image...
thanks in advance...
:)
~Bell
You just need to add authorised domains to the list of referrers...
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.othersite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://othersite.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://othersite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.othersite.com*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://othersite.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.othersite.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://othersite.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.othersite.com:80.*$ [NC]
and then place the ONE image into a folder on it's own with the .htaccess file.
Note that I didn't include the full .htaccess code, just the referrers bit.
thank you for helping me urb...
:)
~Bell
urb...
I am getting ready to sign up with Foxy Angel's site...
what's your ref. code and I will sign up under you ...
~Bell
Originally posted by Bell
urb...
I am getting ready to sign up with Foxy Angel's site...
what's your ref. code and I will sign up under you ...
~Bell
LOL - thank you, but I only designed it.
I haven't had time to sign up myself.
alrighty then...
can't say I didn't try...
and you did a good job on the design work BTW...
another person here that had numerous times been kind enough to respond to my need for help has been Cleo...
Cleo - if you are here today and can post your ref. code I'll sign up under you ...
~Bell
From the land of trannies, wind, and rain…
http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=913226-0003&PA=656559&HTML=http://foxy-angel.com/webmasters/
[QUOTE]Originally posted by Cleo
From the land of trannies, wind, and rain…
http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=913226-0003&PA=656559&HTML=http://foxy-angel.com/webmasters/ [/QUOTE
thanks Cleo...
I signed up under you today and got my own shiny new - webmaster affiliate link - isn't it purty ?? (LOL)
http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=913226-0003&PA=779658&HTML=http://foxy-angel.com/webmasters/]
~Bell
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.