[Xitami] php problem
Fam. A. de Vries
xitami@lists.xitami.org
Fri, 21 Jun 2002 13:20:16 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C21926.6227EAB0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
Open you php.ini in C:\windows or C: \winnt
fid these line
;cgi.force_redirect =3D 1
and change it into
cgi.force_redirect =3D 0
Done
Have fun
Andre
----- Original Message -----=20
From: Balakrishna=20
To: xitami@lists.xitami.org=20
Sent: Friday, June 21, 2002 11:35 AM
Subject: [Xitami] php problem
Hello all,
=20
When i run a php file in my web server i recieve the following error. =
Please let me know how to fix the problem.=20
=20
=20
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.
Thanx=20
=20
balu
------=_NextPart_000_0008_01C21926.6227EAB0
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><STRONG><FONT face=3DArial size=3D2>Hi</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><STRONG><FONT face=3DArial size=3D2>Open you php.ini in =
C:\windows or C:=20
\winnt</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>fid these =
line</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><STRONG><FONT face=3DArial size=3D2>;cgi.force_redirect =3D=20
1</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>and change it =
into</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><STRONG><FONT face=3DArial size=3D2>cgi.force_redirect =3D=20
0</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Done</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Have fun</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Andre</STRONG></FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:balu@supportlance.com"=20
title=3Dbalu@supportlance.com>Balakrishna</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:xitami@lists.xitami.org"=20
title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, June 21, 2002 =
11:35=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Xitami] php =
problem</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D3><FONT=20
face=3D"Times New Roman"><STRONG>Hello =
all,</STRONG></FONT></FONT></FONT></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG>When i run a php file in my web server i recieve the =
following=20
error. Please let me know how to fix the problem. </STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D3><FONT=20
face=3D"Times New =
Roman"><STRONG></STRONG></FONT></FONT></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D3><FONT=20
face=3D"Times New Roman"><STRONG>Security Alert!</STRONG> The PHP CGI =
cannot be=20
accessed directly. </FONT></FONT></DIV>
<P>This PHP CGI binary was compiled with force-cgi-redirect enabled. =
This=20
means that a page will only be served up if the REDIRECT_STATUS CGI =
variable=20
is set, 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><STRONG>Thanx </STRONG></P>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG>balu</STRONG></DIV></BLOCKQUOTE></FONT></BODY></HTML>
------=_NextPart_000_0008_01C21926.6227EAB0--