note 105016 added to security.cgi-bin.shell

From: Date: Fri, 22 Jul 2011 11:53:09 +0000
Subject: note 105016 added to security.cgi-bin.shell
Groups: php.notes 
Request: Send a blank email to php-notes+get-181779@lists.php.net to get a copy of this message
You can invoke the interpreter under Apache 2.2 running in Windows by associating the php file extension with the interpreter binary in the registry: AddType application/x-httpd-php .php AddHandler cgi-script .php In the desired <Directory>-block, configure PHP CGI as follows: Options +ExecCGI ## Use HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command ## to determine CGI script interpreter ## ("c:\program files\php-5.2.17\php-cgi.exe"). ## This key must be created manually. ScriptInterpreterSource Registry-Strict You need to disable cgi.force_redirect in this case, which should be safe from what I understand. You could probably simply use php.exe instead of php-cgi.exe, though I'd like to have this confirmed from someone else. ---- Server IP: 69.147.83.197 Probable Submitter: 141.113.86.94 ---- Manual Page -- http://www.php.net/manual/en/security.cgi-bin.shell.php Edit -- https://master.php.net/note/edit/105016 Del: integrated -- https://master.php.net/note/delete/105016/integrated Del: useless -- https://master.php.net/note/delete/105016/useless Del: bad code -- https://master.php.net/note/delete/105016/bad+code Del: spam -- https://master.php.net/note/delete/105016/spam Del: non-english -- https://master.php.net/note/delete/105016/non-english Del: in docs -- https://master.php.net/note/delete/105016/in+docs Del: other reasons-- https://master.php.net/note/delete/105016 Reject -- https://master.php.net/note/reject/105016 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181779) next »