#27580 [NEW]: AddType application/x-httpd-php .html and apache2 log errors
| From: | phasma at labs dot cryptosecurity dot org | Date: | Fri, 12 Mar 2004 16:21:50 +0000 |
| Subject: | #27580 [NEW]: AddType application/x-httpd-php .html and apache2 log errors | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-56360@lists.php.net to get a copy of this message | ||
From: phasma at labs dot cryptosecurity dot org
Operating system: linux
PHP version: 4.3.4
PHP Bug Type: Apache2 related
Bug description: AddType application/x-httpd-php .html and apache2 log errors
Description:
------------
hi,
i added "AddType application/x-httpd-php .html" to serve php through .html
files, but i got a strange errors:
when i try to open a .html page that does not exist, i retrive a 404
error, but in the vhost error logs i don't see anything; and i see a
"script not found or unable to stat" in the general apache error log
file.
--- snif from general error_log
[Fri Mar 12 17:00:15 2004] [notice] Digest: generating secret for digest
authentication ...
[Fri Mar 12 17:00:15 2004] [notice] Digest: done
[Fri Mar 12 17:00:16 2004] [notice] Apache configured -- resuming normal
operations
script not found or unable to stat
script not found or unable to stat
script not found or unable to stat
--- snif from general error_log
i noted also that apache2 fails to restart sometimes. better: when i try
"apache2 restart" sometimes apache2 starts only one istance (as root) and
not spawn threads (as apache user). when this occurs, the only way i found
to get all working is to reboot the system.
--
Edit bug report at http://bugs.php.net/?id=27580&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27580&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27580&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27580&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27580&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27580&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27580&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27580&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27580&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27580&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27580&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27580&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27580&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27580&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27580&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27580&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27580&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27580&r=float