[ale] Simple cgi question

Bob Kruger bkruger at mindspring.com
Fri Feb 7 23:24:29 EST 2003




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).
  








More information about the Ale mailing list