Hi Kamali, I was encountering the same problem, till one of the gurus in this forum adviced me to change to Apache. I am using Apache 1.3.24 i think and it's working fine as a fiddle with no bugs encountered so far in my cgi adventure.
U can try installing it as well, I am running it on Win 98, stable enough. And the complilation is similar to Redhat's Apache as well. Thanks! ----- Original Message ----- From: "Josue Garayua" <[EMAIL PROTECTED]> To: "Kamali Muthukrishnan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 8:41 PM Subject: Re: Windows 98 - PWS and Perl > Kamali: > If you installed PWS, you can see a small icon in your taskbar near to your > clock. If you don't see the icon, go to start -> programs -> accesories -> > Internet Tools -> Personal Web Server and run the Personal Web Server Icon. > Second, don't call your cgi from your command line!!! Open your browser and > write in your url address localhost/cgi-bin/first.cgi > This have to work. > Josue Garayua > > ----- Original Message ----- > From: "Kamali Muthukrishnan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Wednesday, April 10, 2002 6:07 AM > Subject: Re: Windows 98 - PWS and Perl > > > 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] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]