View previous topic :: View next topic |
Author |
Message |
Taellik -
Joined: 08 Jul 2002 Posts: 42 Location: USA
|
Posted: Fri Jun 30, 2006 1:06 pm Post subject: Redirect status Error |
|
|
Getting the following error when trying to serve PHP pages :
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.
Any ideas how to get PHP working ?? |
|
Back to top |
|
|
Taellik -
Joined: 08 Jul 2002 Posts: 42 Location: USA
|
Posted: Fri Jun 30, 2006 1:11 pm Post subject: |
|
|
Mystery solved - had to define a cgi variable value ! |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Jun 30, 2006 2:01 pm Post subject: |
|
|
This is explained in the tutorials on installing PHP. :-) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
|