Apache-JumpByReferer
view release on metacpan or search on metacpan
lib/Apache/JumpByReferer.pm view on Meta::CPAN
in RefererListFile (conf/jump.conf)
# Syntax:
# Referer Regex URL to Jump (or forbidden)
http://malicious\.site\.example\.com/ http://goodbye.example.com/
http://another\.malicious\.site/ forbidden
http://ime\.nu/ forbidden
http://[^.]+\.google\.([^/]+)/ /hello_googler.html
http://[^.]+\.yahoo\.([^/]+)/ /do_you_yahoo/?
"Field blocked by" /do/not/block/the/field/
=head1 DESCRIPTION
Apache::JumpByReferer is an access phase handler of Apache + mod_perl.
You can block or let the user jump to another URL if the user was
coming from your specified web site.
This handler will cache the settings at the first time calling, and
check the last-modified time of the C<RefererListFile>, and will
re-cache the settings when the file was modified after the last cached
( run in 0.585 second using v1.01-cache-2.11-cpan-49f99fa48dc )