Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Perl & Personal Web Server

by dvergin (Monsignor)
on Mar 02, 2001 at 05:03 UTC ( #61721=note: print w/replies, xml ) Need Help??

in reply to Perl & Personal Web Server

PWS can run Perl cgi scripts.

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

HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \W3SVC \Parameters \Script Map
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.

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://61721]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2018-06-18 23:50 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.