This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker (Forum Locked Forum Locked)
 Helicon Tech : HotlinkBlocker
Subject Topic: Blocking a single referer (Topic Closed Topic Closed)
Author
Message |
PugFish
Newbie


Joined: 22 May 2006
Location: United Kingdom
Posts: 2
Posted: 22 May 2006 at 4:48am  

Hey,

I've been trying to work this out, but I can't seem to find a way of doing it.

I need to block a single referer from accessing a single file. The only way I can see is through the black and white lists, but that will affect the rest of my protected links too.

Do you know of another way I could do it?
Back to Top Visit PugFish's Homepage
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 23 May 2006 at 4:53am  

Yes, HotlinkBlocker was not designed for such configuration scenarion. Here you can use ISAPI_Rewrite Lite to do what you need. Here is a rule example to put in httpd.ini file:

RewriteCond Referer: http\://www\.somereferer\.com/page\.htm
RewriteRule /dir/pageonmysite.htm /block.htm [I,L]

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
PugFish
Newbie


Joined: 22 May 2006
Location: United Kingdom
Posts: 2
Posted: 23 May 2006 at 7:08am  

Thanks, it worked like a charm
Back to Top Visit PugFish's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum