Re: Problem with IIS 6, Windows 2003 and ActivePerl

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 03/24/05


Date: Thu, 24 Mar 2005 19:25:32 GMT

On Wed, 23 Mar 2005 17:43:00 -0600, "J. C."
<justremovevmjrc@hotmail.com> wrote:

>Okay, I have followed directions to the letter trying to get my perl scripts
>to work on my Windows 2003 Webserver using II6 and ActivePerl. ActivePerl
>has been installed on the web server and works perfectly.
>
>The following has been done:
>1 Set up Virtual Directory for cgi-bin that points to my
>c:\perl\perl-scripts
>2 Scripts and Executables can be executed in the cgi-bin
>3 Went to Server Extensions and "Allow" perl, server side includes to work
>4 My web server sees the cgi-bin, but when I try to run a Perl Script from
>with .htm file, it shows no results other than everything outside of
>embedded perl script

That's a "Well, duh..." question. :)

Perl scripts need a .PL extension to be run.

>5 When running the same test directly from the folder on the web server, it
>works fine
>6 I have added .htm, .html in the configuration so that it will recognize
>parsing

Do you mean you mapped HTM and HTML to the perl.dll or Perl ISAPI
filter? That's not smart, since now you can't run HTM or HTML files,
everything would have to be a Perl script.

Plus, if you didn't remove the default HTM/HTML mapping you would
further break your system.

>Please help...I have been to a number of websites that offer advice and I
>have followed to the letter, but my scripts just aren't working when using
>www

Try this one:

How To: Install Perl on IIS6:
http://www.visualwin.com/Perl/

Jeff



Relevant Pages

  • Re: FreeBSD 4.9 and perl LWP...
    ... > I have a client trying to run a perl script on our web server. ... FreeBSD ... For some reason it was not installed, I did a make make install for p5-www ...
    (freebsd-isp)
  • SerialPort error
    ... I have a perl script that complains about not being able to find ... install Device::SerialPort ... Are permissions correct? ... Failed 1/21 tests, 95.24% okay ...
    (comp.lang.perl.modules)
  • Re: Help regarding Perl modules in .pl and .in extension.
    ... > I am having problems when referencing to modules that have the extension .pl ... are a Perl script and a template ... If the module you want doesn't come pre-packaged for windows, ... be hard to install. ...
    (comp.lang.perl.misc)
  • Re: Installing a CPAN Module online
    ... I think I should be able to write a Perl script to execute these commands, ... are thinking of writing and uploading a CGI script that would install the module for you. ... Even if that may be possible, under certain conditions, the first thing you should do is finding out if it's a plain Perl module, or a module that needs to be precompiled. ...
    (comp.lang.perl.modules)
  • DBD:: Oracle and LIBPATH problem for 32bit OS and 64 bit Oracle
    ... Remove the -q32 and/or -q64 options from the list of libraries to link ... Now when I ran "make" it went smoothly, so did make test and make install. ... Adding 'use lib' or using'$ENV{LIBPATH}' to change the LIBPATH is not ... LIBPATH and then calls the perl script which works fine but I was ...
    (perl.dbi.users)