MSFN Forum: using activeperl in iis - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

using activeperl in iis Rate Topic: -----

#1 User is offline   jeff.sadowski 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 01-March 07

Posted 24 July 2007 - 04:53 PM

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 know
Under "Application Configuration" under "Mappings" tab there is an entry [.pl C:\Perl\bin\perl.exe "%s" %s GET, HEAD, POST] that active perl added
I 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.exe
print "Content-type: text/html\n\n";
print "Hello world";

and when executed looks as expected

Content-type: text/html

Hello World

It doesn't appear to be executing from IIS

I'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 :-)

This post has been edited by jeff.sadowski: 24 July 2007 - 05:06 PM



Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy