[Xitami] PHP Problems

Fa Gee xitami@lists.xitami.org
Wed, 15 May 2002 21:47:20 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0017_01C1FC5A.172DAC90
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hey, i'm trying to get php running on my server, but i get this error...

Security Alert! The PHP CGI cannot be accessed directly.=20
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.

I changed cgi.force_redirect =3D from 1 to 0 and still get it.... Any =
ideas, i had just remove the ";" in front of it, maybe it was a comment.

Anyone know what's wrong?


------=_NextPart_000_0017_01C1FC5A.172DAC90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>Hey, i'm trying to get php running on =
my server,=20
but i get this error...</FONT></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>Security Alert!</STRONG> The PHP CGI cannot be accessed =
directly.=20
</DIV>
<P>This PHP CGI binary was compiled with force-cgi-redirect enabled. =
This means=20
that a page will only be served up if the REDIRECT_STATUS CGI variable =
is set,=20
e.g. via an Apache Action directive.</P>
<P>For more information as to <I>why</I> this behaviour exists, see the =
<A=20
href=3D"http://php.net/security.cgi-bin">manual page for CGI =
security</A>.</P>
<P>For more information about changing this behaviour or re-enabling =
this=20
webserver, consult the installation file that came with this =
distribution, or=20
visit <A href=3D"http://php.net/install.windows">the manual =
page</A>.</P>
<P>I changed cgi.force_redirect =3D from 1 to 0 and still get it.... Any =
ideas, i=20
had just remove the ";" in front of it, maybe it was a comment.</P>
<P><FONT face=3DArial size=3D2>Anyone know what's=20
wrong?</FONT></P></DIV></BODY></HTML>

------=_NextPart_000_0017_01C1FC5A.172DAC90--