[Xitami] Having problems executing PHP under xitami

Patricko xitami@lists.xitami.org
Mon, 28 Oct 2002 08:46:00 -0700


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.

in your PHP.INI file you need to set this
; cgi.force_redirect is necessary to provide security running PHP as a CGI
under
; most web servers.  Left undefined, PHP turns this on by default.  You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
cgi.force_redirect = 0


hope that helps

----- Original Message -----
From: "Annika en Nick" <Annika.en.Nick@kabelfoon.nl>
To: <xitami@lists.xitami.org>
Sent: Monday, October 28, 2002 8:21 AM
Subject: [Xitami] Having problems executing PHP under xitami


> I keep getting the next message when trying to run a php application.
> I've been through all the settings at least ten times, I just can't find
the
> answer..
>
> 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.
>
> _________________________________________
> Whyte Wolfe
> ICQ#: 813963881
> More ways to contact me: http://wwp.icq.com/81396388
> _________________________________________
>
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami