jeff.sadowski Posted July 24, 2007 Share Posted July 24, 2007 (edited) I would like to use perl with iis.I installed activeperl and made sure it works.I can double click on a perl script and it runs.Now I'm trying to learn IIS.But I am really not sure where to start.I could install apache and use it but I think I should take the time and learn IIS as well.Here is what I knowUnder "Application Configuration" under "Mappings" tab there is an entry [.pl C:\Perl\bin\perl.exe "%s" %s GET, HEAD, POST] that active perl addedI added a file test.pl to the c:\inetpub\wwwroot directory but when I point a web browser at it is says it is not found any other htm files I add to the directory work just fine.my test.pl looks as follows#!c:\perl\bin\perl.exeprint "Content-type: text/html\n\n";print "Hello world";and when executed looks as expectedContent-type: text/htmlHello WorldIt doesn't appear to be executing from IISI'm not sure where I need to put the perl scripts actually. In apache I know I needed them in the cgi-bin directory.Ok I figured it out :-)In the "Web Service Extentions" area I found the "Perl CGI Extention" was prohibited I just changed that to Allowed and walla everything works now :-) Edited July 24, 2007 by jeff.sadowski Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now