Date: Wed, 2 Oct 1996 19:48:00 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: Re: SAS/IIS/Win NT 2.0/Perl CGI Script
Thanks for the reply.
Here's what's happening.. now let me see.
I downloaded from hip the latest and greatest Perl5 (110-i86.zip) and ran
which automatically associated .pl with c:\perl5\bin\perlIIS.DLL in the WIn
NT 4 Registry.
I run in houses.html with the line
<FORM ACTION="http://old_one/scripts/sas_process.pl" METHOD=POST>
In my sas_process.pl, I now have specified
# This is the directory SAS will write its temporary files to; must
# be writable by the web server's userid.
$HOME = "c:/temp";
# This is the directory that contains the .SAS files to run.
# This is the full path name of the SAS System.
# I used the above line, but this Web server point to another server where
# so lets see if the next line does the trick?
# Drive P is simply the drive on the OTHER server that this NT server
points to run SAS
And then I uncomment these lines at end of sas_process.pl
# ok commenting these out
I fire up Netscape 3.0, navigate to my server houses.html page, and click
on Submit, and get
a reply with a Navigator messagebox "You have starter to download a file
of type application/x-perl Click More Info to learn how to extend
If I click on ok, it wants me to save sas_process.pl
Why does Navigator want me to download the file? I want to execute it, not
FRS--LiteWate <faith@FRSA.COM> wrote in article
> This darn post came back to me undeliverable so here goes again:
> At 12:46 PM 10/1/96 GMT, Rdsdnen wrote:
> >Status report on Tue Oct 01, 1996
> >I am still trying to run the sample at
> >Some very kind folks have sent email, and I will try the suggestions
> >In case anyone/someone/somewhere is running NT 4 Server with IIS 2.0 Web
> >Server, here are my steps:
> >http://www.sas.com/rnd/web/sascgi.html was my "starting point".
> >I then clicked on the "simple CGI example".
> >>From there I copied the HTML page at
> >I looked at the "five steps"
> >Clicked on the "CGI Script" and copied the
> >http://www2.sas.com/SAS-process/sas_process.pl script to my
> >\inetsrv\scripts directory and I also tried my \inetsrv\wwwroot\cgi-bin
> >directory. I did modify the "make changes from here" section -- but am
> >sure if I should have compiled the thing? Should I install "perl
> >or something like that for NT 4 Server?
> <STUFF DELETED>
> I have the same set up on one of my computers at home with one exception.
> set up my iis server on my 2nd drive.
> on the 5 steps to creating a SAS CGI application, web page, there is a
> paragraph at the very very top which contains the following:
> "...With some modifications it should be possible to make it run on other
> platforms with any version of the SAS System and a different type of Web
> server as long as the machine has Perl installed and the Web server
> the Common Gateway Interface. "
> the authors of the web site ASSUMED that you already have perl installed
> your system. seems to me that you are lacking nothing but the PERL for
> product. Download it for free from the web. check out www.hip.com.
> btw, perl programs do NOT need to be compiled like C++ programs. Just
> execute the PERL scripts and the code will be 'interpreted'. But you MUST
> PROPERLY install perl. one final note: put your html docs in a htdocs
> directory and NOT in your perl directory or your perl scripts directory.
> NOT put your perl scripts in the same directory as the perl product
> of security concerns.
> best to you...
> Faith Renee Sloan (FRS ASSOCIATES) - A SAS Institute Quality Partner
> firstname.lastname@example.org (WEB Site Design and Interactive Programming/SAS and
> http://www.frsa.com (world-wide-web home base)
> http://www.frsa.com/bbpage.shtml BodyBuilding Page
> a Pointgrrl for San Francisco Webgrrls
> email@example.com -- http://www.webgrrls.com/sf