I'm trying to get Perl running under IIS6 (Windows3K). Perl installs OK and a test from the command line (perl helloworld.pl) executes just fine.
However, calling one of the .pl files in the /cgi-bin from the web site produces a 404 error. In this instance a 404 (2) indicates a permissions failure rather than a genuine missing page error.
In IIS6, the .pl extension is mapped to perl.exe "%s" s, which was inserted by the ActiveState Perl installer. However, to get it to work (I gather) you need under IIS6 to add an additional "Web server extension". So I've added one called "Perl" and set the perl.exe (and most other .exe and .dll in the Perl installation directory) as "allowed".
I still get the 404 error.
My next attempt was to wonder about the Windows account used to run the Perl command. When mapping the .pl extension under "Application Extension mapping" I've set .pl to only use POST,GET and HEAD and called it a "script engine". I then tried running it under a different "Application Pool", so created a special one called "Perl applications". The default is to run this under the identity Network service, but I've also tried running it under IWAM and a host of others. Needless to say I've ensured that the NTFS permissions allow these accounts to access the Perl folder and the web application is set to run "Scripts and executables" (though having described Perl as a script engine, I guess it should run withas just "scripts").
Where am I going wrong, please? And help!
Thanks.
However, calling one of the .pl files in the /cgi-bin from the web site produces a 404 error. In this instance a 404 (2) indicates a permissions failure rather than a genuine missing page error.
In IIS6, the .pl extension is mapped to perl.exe "%s" s, which was inserted by the ActiveState Perl installer. However, to get it to work (I gather) you need under IIS6 to add an additional "Web server extension". So I've added one called "Perl" and set the perl.exe (and most other .exe and .dll in the Perl installation directory) as "allowed".
I still get the 404 error.
My next attempt was to wonder about the Windows account used to run the Perl command. When mapping the .pl extension under "Application Extension mapping" I've set .pl to only use POST,GET and HEAD and called it a "script engine". I then tried running it under a different "Application Pool", so created a special one called "Perl applications". The default is to run this under the identity Network service, but I've also tried running it under IWAM and a host of others. Needless to say I've ensured that the NTFS permissions allow these accounts to access the Perl folder and the web application is set to run "Scripts and executables" (though having described Perl as a script engine, I guess it should run withas just "scripts").
Where am I going wrong, please? And help!
Thanks.
Comment