note 82712 rejected from security.hiding by nlopess
| From: | nlopess@php.net | Date: | Sat, 26 Apr 2008 17:43:01 +0000 |
| Subject: | note 82712 rejected from security.hiding by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138813@lists.php.net to get a copy of this message | ||
Note Submitter: finebanana at yahoo dot com
----
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.