I Need an IP based url redirect Perl script
David P. Moore
mooredp at email.uah.edu
Wed Jul 12 12:30:22 EDT 2000
I am looking for a cgi Perl script that will redirct a user who clicks on a
url to a certain web page when that user is not from an appropriate IP
address location.
Here's why I want it: Currently, if a user from off-campus clicks on a
database link on our web page, they will get a 404 page, or a page that
prompts for user-name and password, causing patron confusion. This is
because all our databases are IP authenicated for on-campus only. I want to
redirect these non-campus patrons to a web page that will display
instructions about obtaining off-campus access.
I have found free Perl scripts that will do right the opposite-- redirect
based on a certain domain, but I want to redirect on any BUT a certain
domain.
Has anyone found/using this? How are other libraries handling this issue? Is
there a better solution?
David P. Moore
Electronic Resources Librarian
M. Louis Salmon Library
University of Alabama in Huntsville
Huntsville, AL 35899
256-890-6285
FAX: 256-890-6083
mooredp at email.uah.edu
More information about the Web4lib
mailing list