[Xitami] Having problems executing PHP under xitami
Annika en Nick
xitami@lists.xitami.org
Wed, 30 Oct 2002 21:48:20 +0100
I've checked these settings and I think they are correct, maybe they aren't
but I've lost it then. I've looked up this problem on several sites and all
say the same thing about the variable so I've set that to 0. I've also tried
it with both the enviroment stting through the autoexec.
Neither option makes any difference.
The filters have been set correctly in both the base and the specific host
settings, it's got me stumped.
I could include the files but I don't want to mess up the list to much.
Any ideas?
Whyte Wolfe
-----Original Message-----
From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Patricko
Sent: maandag 28 oktober 2002 16:46
To: xitami@lists.xitami.org
Subject: Re: [Xitami] Having problems executing PHP under xitami
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
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami