LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 1996, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 4 Oct 1996 19:20:41 GMT
Reply-To:     Rdsdnen <rasanen@SPRYNET.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Rdsdnen <rasanen@SPRYNET.COM>
Organization: Sprynet News Service
Subject:      MS KB Article on NT 4 IIS 2 for Perl

Hi all,

This article at http://www.microsoft.com/kb/bussys/iis/q150629.htm suggested a simple way of testing if I had perl.exe correctly setup to run the SAS CGI samples.

I did!

The only thing I had to add to the sample was the FIRST line, otherwise Netscape 3 tries to do a download instead of formatting the output in HTML.

print "HTTP/1.0 200 OK\n"; print "Content-Type: text/html\n\n"; print "<HTML>\n"; print "<HEAD>\n"; print "<TITLE>Hello World</TITLE>\n"; print "</HEAD>\n"; print "<BODY>\n"; print "<H4>Hello World</H4>\n"; print "<P>\n"; print "Your IP Address is $ENV{REMOTE_ADDR}.\n"; print "<P>"; print "<H5>Have a nice day</H5>\n"; print "</BODY>\n"; print "</HTML>\n";

The sas_process.pl sample as executed from c:\inetsrv\scripts\sas_process.pl still wants to do a download and I added the line above there also -- no help. --

rasanen@sprynet.com http://home.sprynet.com/sprynet/rasanen/


Back to: Top of message | Previous page | Main SAS-L page