
Running Perl in PWS/Win98
Quote:
> Hi,
> I have a basic question... I was trying to run my perl (.pl) script in my
> internet browser as I am using Windows98 with Personal Web server
> installed. Evrytime i try to run the perl file in the browser it asks me
> to download
> or open it in the browser. I wasn't able to view it in the browser. Did
> I miss anything in my server configuration, or should I have to modify
> something in the RegEdit. What should I need to do? Please help..
> I'm new at perl..
> thank you.
You need to do several things:-
1) associate the perl file extension (.pl) with an executable script
In regedit:-
HKEY_LOCAL_SYSTEM\System\CurrentControlSet\Services\W3SVC\Parameters\ScriptMap
.pl perl.exe %s
2) set the correct directory permissions on cgi-bin to execute but not read
access
Shutdown and then restart PWS
I guess you are using activestate perl ? If so see