Redirect status Error

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Taellik
-


Joined: 08 Jul 2002
Posts: 42
Location: USA

PostPosted: Fri Jun 30, 2006 1:06 pm    Post subject: Redirect status Error Reply with quote

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 View user's profile Send private message
Taellik
-


Joined: 08 Jul 2002
Posts: 42
Location: USA

PostPosted: Fri Jun 30, 2006 1:11 pm    Post subject: Reply with quote

Mystery solved - had to define a cgi variable value !
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Fri Jun 30, 2006 2:01 pm    Post subject: Reply with quote

This is explained in the tutorials on installing PHP. :-)
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group