Current time: 04-24-2014, 12:46 PM Hello There, Guest! (LoginRegister)

Post Reply 
preventing access through specific link?
09-30-2002, 01:23 PM
Post: #1
preventing access through specific link?
My friend is having a problem- her site is being flamed on a private forum and she wants to prevent people from being able to access her site through that page. Is there any way to detect and then possibly deny or redirect users coming from a specific URL?

Thanks a bunch.
chel
Find all posts by this user
Quote this message in a reply
09-30-2002, 02:06 PM
Post: #2
preventing access through specific link?
This is untested code that could go in your .htaccess file:

Code:
SetEnvIfNoCase Referer //[^.]*\.referringwebsite\.com DisAllowedReferrer=1
:
<Directory />
ErrorDocument 401 /goaway.html
Order Allow,Deny
Allow from all
Deny from env=DisAllowedReferrer
</Directory>
- wil
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: