I always use perlis.dll for PWS. It uses less resources than perl.exe.
If Active Perl is installed at C;\Perl then the string you want is:
name = ".pl"
data = "c:\perl\bin\perlis.dll"
Using regedit.exe, browse to:
"HKEY_LOCAL_SYSTEM\System\CurrentControlSet\Services\W3SVC\Parameters\Sc
ript Map"
Select: EDIT, New, StringValue
Enter name = .pl.
Click .pl
Select: Edit, Modify
Enter data = c:\perl\bin\perlis.dll

If needed, you can add similar entries for .plx and .cgi. The data will
be the same.

Hope this helps

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Nitesh Gupta
> Sent: Tuesday, April 23, 2002 6:57 AM
> To: [EMAIL PROTECTED]
> Subject: cgi + PWS config
>
>
> Hi,
> I am a Perl beginner.  I wish to do cgi scripting on winNT work
> station. I installed active perl and Personal Web server.  perl
> works on command line but not as script.  In the documentation, I
> read the following instructions(between ### signs below).  Can
> someone tell me what exactly should i write down in the key (the
> exact string).
>
> ###
> Associate the extension for your scripts with the appropriate
> interpreter in the script map for IIS. This is under the Registry
> key HKEY_LOCAL_SYSTEM, with the sub-key
> ``''.
> Many people map two extensions: one to perl.exe %s (for example,
> .pl) and another to PerlIS.dll (for example, .plx). Note that
> mapping an extension in the script map is not the same as
> associating the extension in Explorer. Use the full paths to the
> executable files in the script map.
> ###
>
> plz let me know what else should I do to make my script working on
> PWS
>
> thanks
> Nitesh
>
> _________________________________________________________
> Click below to visit monsterindia.com and review jobs in India or
> Abroad
> http://monsterindia.rediff.com/jobs
>
> _______________________________________________
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to