Discussion Locked

PERL SCRIPT FOR REDIRECTION

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I really need help in finding a perl script that will redirect site visiters. Right now Oregon-YankeeNewsletter.Us is parked on www.josephallard.com. When visiters type in www.oregon-yankeenewsletter.us into their browsers address box, I want them to go to the newsletter page, rather than the home page to www.josephallard.com.

1 reply

by jay eckles

If you can set a CGI program as the default page of the www.oregon-yankeenewsletter.us site, then you could create a very simple Perl script to do what you want:

#!/usr/bin/perl
print "Location: http://server/path/document\n\n";

Unless I've forgotten something, that's pretty much it.

Jay

This discussion is closed to new replies.