in reply to Learning CGI
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:
"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"
Update: Added "-T" to the above snippets as Ovid mentioned below. (Now I better go investigate Taint ;)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"
|
---|
Replies are listed 'Best First'. | |
---|---|
(Ovid - security problem in your solution) Re(2): Learning CGI
by Ovid (Cardinal) on Jan 05, 2001 at 03:59 UTC |