note 82712 added to security.hiding
| From: | finebanana at yahoo dot com | Date: | Wed, 23 Apr 2008 05:37:19 +0000 |
| Subject: | note 82712 added to security.hiding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138678@lists.php.net to get a copy of this message | ||
I'm on Centos4 and just upgraded php4 to php5 from centosplus, now all my php scripts (without
.php) no longer works, they only work when I put the .php extension to it.
All the php script is within a directory, and I've tried all the below (not all at the same
time, some may be combined) but none work for me, neither at the httpd.conf, .htaccess in the php
dir, or separate config to be loaded in /etc/httpd/conf.d/ :
- ForceType php5-script
- ForceType application/x-httpd-php
- SetHandler php5-script
- SetHandler application/x-httpd-php
- DefaultType application/x-httpd-php
- AddType application/x-httpd-php .php
- AcceptPathInfo On
- MultiView
The only thing that works was using mod_rewrite but I'm trying to avoid this.
----
Server IP: 64.71.164.2
Probable Submitter: 58.185.249.106
----
Manual Page -- http://www.php.net/manual/en/security.hiding.php
Edit -- https://master.php.net/note/edit/82712
Del: integrated -- https://master.php.net/note/delete/82712/integrated
Del: useless -- https://master.php.net/note/delete/82712/useless
Del: bad code -- https://master.php.net/note/delete/82712/bad+code
Del: spam -- https://master.php.net/note/delete/82712/spam
Del: non-english -- https://master.php.net/note/delete/82712/non-english
Del: in docs -- https://master.php.net/note/delete/82712/in+docs
Del: other reasons-- https://master.php.net/note/delete/82712
Reject -- https://master.php.net/note/reject/82712
Search -- https://master.php.net/manage/user-notes.php