in reply to Perl & Personal Web Server
How does PWS know where Perl is?
On Windows 98 you need to make an entry in the Windows Registry.
First make a back-up copy. Then fire up RegEdit and go to
and add a new entry: .pl = C:\Perl\bin\Perl %s %s ...or wherever Perl lives on your machine. I have seen the following entry recommended instead but I have not tried it: .pl = C:\Perl\bin\PerlIS.dll In addition, I have read of a method that involves modifying the hash-bang line but I don't use that because I'd just have to change it before uploading to my server.HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \W3SVC \Parameters \Script Map
The other thing you need to do is set up a cgi directory in PWS. Bring up the PWS admin window, click on Advanced, and then on Add... In the directory you set up, specify the Execute option. (You can have as many Execute directories as you want.)
That should do it. Any more questions, just ask.
|
|---|