Preventing access through specific link?

software development

#1

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


#2

This is untested code that could go in your .htaccess file:

SetEnvIfNoCase Referer //[^.]*\.referringwebsite\.com DisAllowedReferrer=1 : <Directory /> ErrorDocument 401 /goaway.html Order Allow,Deny Allow from all Deny from env=DisAllowedReferrer </Directory> - wil