Sign in to follow this  
Followers 0

using activeperl in iis

1 post in this topic

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 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 looks as follows


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

Edited by jeff.sadowski

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.