Hi:
You need to allow your cgi folder to be executed. Again go to the properties
of PWS. Go to the Advanced section and click in your cgi folder (if you
don't have this folder create one). With this selected, click "Edit
Properties"  and see the Access to this folder. This should be Execute &
Script.
J. Garayua
----- Original Message -----
From: "Kamali Muthukrishnan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 5:59 AM
Subject: Re: Windows 98 - PWS and Perl


Hi :
I have the icon and it also says it is running. If I go to the browser and
put down my cgi URL it comes up with the following error.

          403.1 Error  Forbidden : Execute Access forbidden
  This error can be caused if you try to execute a CGI, ISAPI or other
   executable program from a directory that does not allow programs to
   be executed.
   Please contact the webserver's administrator if the problem persists.

Kamali
>>> "Josue Garayua" <[EMAIL PROTECTED]> 04/11/02 07:41AM >>>
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]

Reply via email to