Personal Web Server (PWS) is also available for use on Win9x and NT. It is a version of Internet Information Server 4.0 (IIS) and you should be able to find it on your Win98 installation cd.
Once you have PWS installed on your machine, you need to either modify the registry key:
WARNING! DO NOT EDIT THE REGISTRY IF YOU DO NOT UNDERSTAND WHAT YOU ARE DOING!!!
"HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Script Map"
to add a new string value(s) with the name(s):
.pl and/or .cgi
with the value:
c:\perl\bin\perl.exe -T %s %s
Or...
D/L the snippet below, save it with the extension .reg, and merge it into your registry by double-clicking it. If the "open with" dialog pops up choose "regedit" as the program to "open with"
REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters
+\Script Map]
".cgi"="c:\\perl\\bin\\perl.exe -T %s %s"
".pl"="c:\\perl\\bin\\perl.exe -T %s %s"
Update: Added "-T" to the above snippets as
Ovid mentioned below. (Now I better go investigate Taint ;)
ryddler