> Thank you for your prompt reply. Now I'm getting other messages. > > http://localhost/phptest.php gave the following error: > > "Security Alert! The PHP CGI cannot be accessed directly. > This PHP CGI binary was compiled with force-cgi-redirect enabled. This means > that a page will only be served up if the REDIRECT_STATUS CGI variable is > set, e.g. via an Apache Action directive. > > For more information as to why this behaviour exists, see the manual page > for CGI security. > > For more information about changing this behaviour or re-enabling this > webserver, consult the installation file that came with this distribution, > or visit the manual page." > > When pressed 'refresh'. got the following message: > > "CGI Error > The specified CGI application misbehaved by not returning a complete set of > HTTP headers. The headers it did return are:" > > My "php.ini" file is attached for your quick review. Thanks. > > ----- Original Message ----- > From: "Jaap Prins" <[EMAIL PROTECTED]> > To: "'Javed@TechnoCanada'" <[EMAIL PROTECTED]> > Sent: Thursday, January 02, 2003 11:53 PM > Subject: RE: [PHP-INST] Http error 403 > > > > Edit the advanced properties in the PWS and set to 'execute'. > > Jaap > > > > > > -----Original Message----- > > From: Javed@TechnoCanada [mailto:[EMAIL PROTECTED]] > > Sent: 03 January 2003 07:00 > > To: [EMAIL PROTECTED] > > Subject: [PHP-INST] Http error 403 > > > > > > Trying to use PHP4.0 with PWS4 on Win98. > > CGI works fine from dos prompt, e.g., c:\php>php phptest.php , and get > > expected output. > > But, when tried with IE Browser 5, a blank screen appears. View souce > option > > reveals the original file. > > > > Following is the error message I'm getting: > > > > HTTP Error 403 > > 403.1 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 Web server's administrator if the problem persists. > > > > A php file called "phptest.php" is located under "c:\inetpub\webpub" > folder. > > > > What am I doing wrong? Please advise, thank you. > > > > Javed Ahmad > > TechnoCanada Enterprises > > 604-780-6617 > > http://www.technocanada.ca > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > >
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php