Re: REDIRECT STATUS CGI
| From: | Jeff Harris | Date: | Tue, 22 Jul 2003 22:32:57 +0000 |
| Subject: | Re: REDIRECT STATUS CGI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156348@lists.php.net to get a copy of this message | ||
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.