Organizational Research By

Surprising Reserch Topic

boostr.in questions - Question:PHP Fastcgi / CGI - cgi.force_redirect Directive


PHP work with FastCGI. Fascgi reduces the memory footprint of your web server, but still gives you the speed and power of the entire PHP language. You can configure Apache2+PHP+FastCGI or cgi as described here. The configuration directive cgi.force_redirect prevents anyone from calling PHP directly with a URL like http://www.cyberciti.biz/cgi-bin/php/hackerdir/backdoor.php. Turn on cgi.force_redirect for security reasons. Edit /etc/php.d/security.ini and set the following directive:

; Enable cgi.force_redirect for security reasons in a typical *Apache+PHP-CGI/FastCGI* setup
cgi.force_redirect=On
asked Sep 13, 2013 in PHP by rajesh
edited Sep 12, 2013
0 votes
19 views



Related Hot Questions



Government Jobs Opening


...