[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Simple cgi question
- Subject: [ale] Simple cgi question
- From: bkruger at mindspring.com (Bob Kruger)
- Date: Fri, 07 Feb 2003 23:24:29 -0500
That worked.
The addition of the /r/n/r/n at the end of the print line made all the difference.
Thanks all.
Regards - Bob Kruger
Jason Day wrote:
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).