[ale] Simple cgi question

Jason Day jasonday at worldnet.att.net
Fri Feb 7 23:16:38 EST 2003


On Fri, Feb 07, 2003 at 10:22:56PM -0500, Bob Kruger wrote:
> Got a simple problem.
> 
> I have a cgi script on a server that is executed by a number of users 
> that have it bookmarked:
> 
> http://www.thissystem.com/cgi-bin/mainboard.cgi
> 
> I want to redirect them to the following system the click on 
> http://www.thissystem.com/cgi-bin/mainboard.cgi
> 
> http://www.newsystem.com/cgi-bin/mainboard.cgi

Put this in mainboard.cgi:

#!/usr/bin/perl
print "Location: http://www.newsystem.com/cgi-bin/mainboard.cgi\r\n\r\n";

(The print command should be on one line).
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list