PHP 4.0 Bug #5942: PHP4 either does not parse html/htm files or breaks autorization

From: Date: Thu, 03 Aug 2000 10:08:50 +0000
Subject: PHP 4.0 Bug #5942: PHP4 either does not parse html/htm files or breaks autorization
Groups: php.dev 
Request: Send a blank email to php-dev+get-27531@lists.php.net to get a copy of this message
From: byg@fis.ru Operating system: FreeBSD 3.3 PHP version: 4.0.1pl2 PHP Bug Type: Scripting Engine problem Bug description: PHP4 either does not parse html/htm files or breaks autorization The smallest available script to show the bug: <? phpinfo(); ?> Apache 1.3.12 RA patches PL29.7, mod_auth_pgsql 0.9. Compiled-in modules: http_core.c mod_charset.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_setenvif.c mod_php4.c mod_auth_pgsql.c When complied as built-in module, PHP4 either doesn't parse html/htm files or breaks normail operation of authorization (due to wrong response 200 instead of 401). This magically depends on location of Document_Root and httpd.conf. When compiled as DSO, PHP4 does not parse the stream at all. I have tested all combination of AddType/AddHandler/mime.types and have no luck.

« previous php.dev (#27531) next »