Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2004-09-02, 05:12 PM   #1
Bell
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
 
Bell's Avatar
 
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
Bell is offline   Reply With Quote
Old 2004-09-03, 05:39 AM   #2
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
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..
urb is offline   Reply With Quote
Old 2004-09-03, 03:21 PM   #3
Bell
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
 
Bell's Avatar
 
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
Bell is offline   Reply With Quote
Old 2004-09-03, 03:26 PM   #4
Bell
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
 
Bell's Avatar
 
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
Bell is offline   Reply With Quote
Old 2004-09-03, 03:30 PM   #5
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
Quote:
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.
__________________
urb is offline   Reply With Quote
Old 2004-09-03, 03:39 PM   #6
Bell
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
 
Bell's Avatar
 
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
Bell is offline   Reply With Quote
Old 2004-09-03, 03:43 PM   #7
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
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/
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2004-09-03, 07:52 PM   #8
Bell
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
 
Bell's Avatar
 
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
Bell is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:50 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc