You can't just change the extension without changing the extension map in
the Internet Service Manager too. Right click on the web site you need to
edit. Under the Home Directory tab, select Configuration, Add the extension
and properties for the .cgi file. You should already have a .pl and .plx
extension mapped.
Mark
----- Original Message -----
From: "Adam F. St. Pierre" <[EMAIL PROTECTED]>
To: "Tom Heady" <[EMAIL PROTECTED]>
Cc: "Todd Craigo" <[EMAIL PROTECTED]>; "win32-users-listserv"
<[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 6:24 AM
Subject: RE: Perl on IIS
>
> Tried to change teh extension.... Just displayed everything in the file,
> including the code prior to print functions.
>
> On Mon, 2 Jul 2001, Tom Heady wrote:
>
> > as stated previously look in the ActivePerl-WinFaq6
> > it should be in the Perl\html\faq\Windows directory
> >
> > short answer:
> > change the extension to .pl from .cgi
> >
> > ---tom
> >
> > *********** REPLY SEPARATOR ***********
> >
> > On 7/2/2001 at 6:38 PM Adam F. St. Pierre wrote:
> >
> > >Thank you for the help everyone, but I think I failed to make my
question
> > >more apparent.
> > >
> > >I can get basic .pl files to run from the command line. The problem is
I
> > >want my CGI's to use perl as its langauge, hence the example previously
> > >listed below would be saved as hellowrold.cgi:
> > >
> > >#!/C:/perl/perl
> > >$name = "World";
> > >print<<"Content-type: text/html\n\n";
> > >print<<EOT
> > >
> > ><html><body>
> > ><b> Hello $name !</b>
> > ></body><html>
> > >
> > >EOT;
> > >
> > >
> > >Now my question is, why can I not configure my IIS sever to use PERL to
> > >interprit this as a CGI?
> > >
> > >Thanks again guys.
> > >
> > >_______________________________________________
> > >Perl-Win32-Users mailing list
> > >[EMAIL PROTECTED]
> > >http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
> >
> >
> >
> >
>
>
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
>
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users