Security Alert!

2 отговора 61 прегледа
#1

Security Alert!

Imam pitanka. Scripta koito sum napisal vyrvi pod Linux+Apache+PHP,
a pod Windows+IIS4++PHP ne vyrvi i mi dava slednata greshka:

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.

Kyde mi e problema

Отговор
в отговор на BFG #2

Re: Security Alert!

cgi.force_redirect is necessary to provide security running PHP as a CGI under most web servers. Left undefined, PHP turns this on by default. You can turn it off here AT YOUR OWN RISK **You CAN safely turn this off for IIS, in fact, you MUST.**

cgi.force_redirect=0 в PHP.INI

Отговор
в отговор на koko #3

Re: Security Alert!

ili za po-lesno ne go pravi kato cgi a kato apache module

E tuk ni6to niama :[линк]
Отговор