Bug #18316: DefaultType application/x-httpd-php problem
| From: | phpbug at botanicus dot net | Date: | Fri, 12 Jul 2002 15:02:39 +0000 |
| Subject: | Bug #18316: DefaultType application/x-httpd-php problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-13987@lists.php.net to get a copy of this message | ||
From: phpbug@botanicus.net
Operating system: l00nix
PHP version: 4CVS-2002-07-12
PHP Bug Type: Apache2 related
Bug description: DefaultType application/x-httpd-php problem
.htaccess: DefaultType application/x-httpd-php
bleh: <?php phpinfo(); ?>
---
$ curl -sI host/bleh |grep Content-Type
Content-Type: application/x-httpd-php
$ ln -s bleh bleh.php
$ curl -sI host/bleh.php |grep Content-Type
Content-Type: text/html
---
In short, PHP doesn't seem to be used as the handler for
application/x-httpd-php when assumed file type is from a DefaultType or
ForceType statement. :{
--
Edit bug report at http://bugs.php.net/?id=18316&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18316&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18316&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18316&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18316&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18316&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18316&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18316&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18316&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18316&r=globals