cody44
05-19-2005, 02:07 PM
I am running PHP4 on an apache server for test purposes and I have an issue when running some scripts with the following message;
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.
I have reset the force-cgi-redirect to '0' and still no joy. Have tried to change the code in apache and again no joy..........my php skills are not that knowledgable and its a question of putting this out on the forum. Any help would be appreciated.
regards
Mark
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.
I have reset the force-cgi-redirect to '0' and still no joy. Have tried to change the code in apache and again no joy..........my php skills are not that knowledgable and its a question of putting this out on the forum. Any help would be appreciated.
regards
Mark