note 54313 added to security.hiding

From: Date: Thu, 30 Jun 2005 08:19:00 +0000
Subject: note 54313 added to security.hiding
Groups: php.notes 
Request: Send a blank email to php-notes+get-91186@lists.php.net to get a copy of this message
In order to get the PATH_INFO to work in order to pass parameters using a hidden program/trailing slash/"pretty url" in more recent versions of PHP you MUST add "AcceptPathInfo On" to your httpd.conf. AddType application/x-httpd-php .php .html AcceptPathInfo On Try it out with your phpinfo page and you'll be able to search for PATH_INFO. http://yourserver.com/myphpinfo.php/showmetheway If you want to drop the .php use one or both of these: DefaultType application/x-httpd-php ForceType application/x-httpd-php ---- Manual Page -- http://www.php.net/manual/en/security.hiding.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54313 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54313&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54313&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54313&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54313&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54313&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54313&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54313&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#91186) next »