Gossamer Forum
Home : General : Perl Programming :

Running the *.CGI as *.PL possible?

Quote Reply
Running the *.CGI as *.PL possible?
Hello everyone...I'm installing Links 2.0 on a school server which is running on Win NT 4.0 with IIS.

It seems like the server will run *.PL scripts but will deny access to *.CGI scripts. Is there anyway to get Links 2.0 running by just changing all the *.CGI to *.PL.

If i can't do that, i'm assuming i can get this snafu fixed by fiddling around with the file associations--but exactly what should i tell the tech guy to do? (I don't have physical access to the machine, so i need to explain to the guy what exactly to do.) I'm not too experienced with NT servers, mainly Unix so I wouldn't be of much help in telling him where to change this stuff.

Thanks a million.
Quote Reply
Re: Running the *.CGI as *.PL possible? In reply to
I haven't used Links but getting an NT Server with IIS4 to accept cgi is no Problem at all Smile.
Start->Programs->NT4 Option Pack ->MS IIS ->
Internet Service Manager -> under the Machine Icon your domain ->right click Properties ->Home Directory ->Configuration->App Mappings ->Add ->
Executable: G:\Perl\bin\perlis.dll ( My Server here so you have to change Drive and path )
Extension : .cgi

Now your NT Server should accept .cgi too.

Hope this helped you a bit.

Cheers

Broder