I edited the register and mapped the .pl as well as teh .cgi extensions.  Rebooted the 
machine. The PWS can display a HTML page.  It has problems when it gets to the CGI 
file.
I tried to do the
                            perl  -c  first.cgi

at the command prompt after chaning the directory my  C:\inetpub\wwwroot\cgi-bin  
where my first.cgi is.  It gives an error   -  "Bad command or file name "  Any ideas 
- what elese needs to be taken care of ?
"Click in Properties -> Advanced and select the folder where you have your
html document. Look at "Default Document" to display the correct pages."
This , I did not understand in your email.  Click on Properties ... of what and where? 
 Could you please help?
Thanks
Kamali


>>> "Josue Garayua" <[EMAIL PROTECTED]> 04/09/02 09:58AM >>>
Click in Properties -> Advanced and select the folder where you have your
html document. Look at "Default Document" to display the correct pages.

Also, you need map your .pl and .cgi extension in your registry.

Go to Start -> RUN and write regedit. Click OK.
Open HKEY_LOCAL_MACHINE folder.
Click en [System] -> [CurrentControlSet] -> [Services] -> [W3SVC] -> [Script
Map]

Right Click and select "String Value". Write .pl and press enter. Double
click in your new extension and in Value data write the complete path of
your perl program and add %s to the end.
For example: c:\perl\bin\perl.exe %s %s.

Boot your Machine and call your cgi script in your browser like:
localhost/cgi-bin/yourscript.pl and have fun.

I hope this work for you.


"Kamali Muthukrishnan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi :
I installed activestate perl in windows 2000 and added the settings in IIS
and it works.
But in Windows 98 I installed the PWS, but don't know where to look for the
PWS default website properties, to direct the .cgi files to the perl.exe
Can somebody help me , please ?
Kamali



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to