[an error occurred while processing this directive]
123 Web Design!
Creating a CGI redirect page
This tutorial written by Wsabstract.com
print "Location: http://newdomain.com/newfile.pl\n\n";
Simply copy the above two lines into your text editor, replace the part in red with the destination URL of your choice, and save it as the file name of the old CGI document (ie: "oldfile.pl"). Also, make sure the first line of the script, #!/usr/bin/perl, is the correct path to the Perl interpreter on your server. In some cases, it is #!/usr/local/bin/perl instead.
As an example of a CGI redirect page in action, go to http://wsabstract.com/cgi-bin/Utimate.cgi It automatically takes the visitor to our new forum location, http://freewarejava.com/cgi-bin/Ultimate.cgi, and uses exactly the code above to accomplish this.
Congratulations, you are now officially a page redirect Jedi!