[thelist] How do I get Perl CGIs to work locally with Apache under win98?

Peter Hammar phammar at dplanet.ch
Thu Dec 7 13:39:55 CST 2000


Hi,
i had the same problem and remember that
this info from msdn solved it:

Open regedit.
Open the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\P
arameters\ScriptMap
On the Edit menu, point to New, and click String Value.
Name the value .pl and press Enter.
Select .pl, and click Modify on the Edit menu.
In the Value Data box, <the full path to perl.exe>\perl.exe
%s %s
Close the Registry Editor, and restart your computer.

HTH, Peter

>> I want to script and test CGIs written in Perl on my
stand-alone before
>> putting them on my site (the CGI in question is for
hit-logging and
>> analysis).
>...
>> but it still won't work.  My Apache error logs say
"couldn't spawn child
>> process:" but I am NOT getting "[an error occurred while
processing this
>> directive]" on the pages, so I'm assuming the .cgi is
being found but it
>> isn't finding Perl.





More information about the thelist mailing list