|
|
|
|
|
|
|
![]() |
#1 |
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
Join Date: Apr 2003
Location: Dayton, Ohio (currently)
Posts: 455
|
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
__________________
1000's of Domain Names to Choose from at DomainBELL.com |
![]() |
![]() |
![]() |
#2 |
All the way from Room 101
|
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.
__________________
![]() Last edited by urb; 2004-09-03 at 05:45 AM.. |
![]() |
![]() |
![]() |
#3 |
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
Join Date: Apr 2003
Location: Dayton, Ohio (currently)
Posts: 455
|
thank you for helping me urb...
![]() ~Bell
__________________
1000's of Domain Names to Choose from at DomainBELL.com |
![]() |
![]() |
![]() |
#4 |
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
Join Date: Apr 2003
Location: Dayton, Ohio (currently)
Posts: 455
|
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
__________________
1000's of Domain Names to Choose from at DomainBELL.com |
![]() |
![]() |
![]() |
#5 | |
All the way from Room 101
|
Quote:
I haven't had time to sign up myself.
__________________
![]() |
|
![]() |
![]() |
![]() |
#6 |
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
Join Date: Apr 2003
Location: Dayton, Ohio (currently)
Posts: 455
|
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
__________________
1000's of Domain Names to Choose from at DomainBELL.com |
![]() |
![]() |
![]() |
#7 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
From the land of trannies, wind, and rain…
http://refer.ccbill.com/cgi-bin/clic...om/webmasters/ |
![]() |
![]() |
![]() |
#8 |
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
Join Date: Apr 2003
Location: Dayton, Ohio (currently)
Posts: 455
|
[quote]Originally posted by Cleo
From the land of trannies, wind, and rain… http://refer.ccbill.com/cgi-bin/clic...om/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/clic...om/webmasters/] ~Bell
__________________
1000's of Domain Names to Choose from at DomainBELL.com |
![]() |
![]() |
![]() |
|
|