HERB -
You have to do several things:
> Go into the IIS Manager in Admin Tools
> if you want to set up perl for all your www sites,
bring up the properties of your server (top node)
and Edit WWW Service.
> to setup just one site, pring up properties from
that web site.
> now you have a property sheet in front of you
(they both look alike - almost).
> go to the Home Directory tab and click Configuration
in Application Settings.
> scroll down that screen and find entries for .pl and
.plx. If you installed ActivePerl with the IIS checkboxes
checked, you should see something like this:
.pl C:\Perl\bin\perl.exe "%s" %s
.plx C:\Perl\bin\perlis.dll
the first is for normal perl cgi's, the second is
embedded perl cgi's (they run in the server processor
space - faster, but can bring down the server, etc.).
If these lines aren't there, either add them or reinstall
perl with the magic checkboxes on.
> now check the www site you will be using (Default Web Site,
or whatever).
> Expand the tree and see if there is a virtual directory
for Scripts under your site.
> if so, check the Home Directory in it's properties, it
will look something like c:\Inetpub\Scripts.
> if not, make a virtual directory under your site called
Scripts (or cgi-bin or bunny or whatever) and establish
a home directory with Script read and execute rights.
> Now, put your perl cgi script in that directory; use
.pl extension until you have tested it, then you may
rename it to the faster .plx (and change your html page).
> in your HTML (or ASP or whatever) web page, you can point
to and ececute this perl cgi script by doing something
like:
<a href="/Scripts/yourperlcgiscript.pl">blah, blah...</a>
Whew! Give me Apache any day! Good luck.
Aloha => Beau.
-----Original Message-----
From: HB [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 9:12 AM
To: Beau E. Cox
Subject: RE: PERL ON XP USING IIS SERVER
Beau:
I got all that installed and working. My question is: once I download a
cgi program, where the heck do I put the files on my computer to make it
work via the browser, which would call up our IP/file location.
HERB
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]