Re: [PHP] REDIRECT STATUS CGI
Can I just change this status to 0 en then start my Xitami? Or do I have to reinstall it after I have changed the status to 0? The first option didn't seem to work properly. Thanks in advance, Freek Curt Zirzow [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] * Thus wrote Freek van de Griendt ([EMAIL PROTECTED]): Hi, I just started using PHP and installed it on my Windows machine, together with Xitami (Web server). But now, when I try to write a simple PHP file I get 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. php.net has all your answers http://php.net/manual/en/install.xitami.php Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] REDIRECT STATUS CGI
On Jul 22, 2003, Freek van de Griendt claimed that: |Hi, | |I just started using PHP and installed it on my Windows machine, together |with Xitami (Web server). But now, when I try to write a simple PHP file I |get 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. | |How can I change this redirect status? I tried to do it in my php.ini file |but I am not sure what I have to change. | |Any help? Thanks in advance. | |Freek Looks like you have a bad configuration in your php.ini file. First, search your hard drive for all instances of php.ini, then, maybe one of these will help: http://lists.xitami.org/pipermail/xitami/2002-January/002141.html http://www.devarticles.com/forum/printthread.php?threadid=2518 http://www.php.net/security.cgi-bin Jeff -- Registered Linux user #304026. lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] REDIRECT STATUS CGI
* Thus wrote Freek van de Griendt ([EMAIL PROTECTED]): Hi, I just started using PHP and installed it on my Windows machine, together with Xitami (Web server). But now, when I try to write a simple PHP file I get 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. php.net has all your answers http://php.net/manual/en/install.xitami.php Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] REDIRECT STATUS CGI
Hi, I just started using PHP and installed it on my Windows machine, together with Xitami (Web server). But now, when I try to write a simple PHP file I get 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. How can I change this redirect status? I tried to do it in my php.ini file but I am not sure what I have to change. Any help? Thanks in advance. Freek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php