Date: 11/17/00
- Next message: Troy Grady: "[PHP-DEV] "AM_PROG_LIBTOOL" error"
- Previous message: Michael Widenius: "RE: [PHP-DEV] Wierd CVS Build problem with libmysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: boerm <email protected>
Operating system: Tru64 4.0D (OSF1 V4.0 878 alpha)
PHP version: 4.0.3pl1
PHP Bug Type: Apache related
Bug description: parsing *.html through PHP breaks Apache mod_autoindex
With PHP4 compiled as an Apache module, configuring Apache to parse all .html files breaks the Apache mod_autoindex. For example, having this line:
AddType application/x-httpd-php .phtml .php3 .php4 .php .html .htm
in my Apache configuration will break FancyIndexing.
With the above as a system-wide setting, one can add the following:
AddType text/html .html
AddHandler server-parsed .html
on a directory-by-directory basis. This restores FancyIndexing, but breaks any PHP coding that is embedded in .html files in those directories.
Here's my current PHP config line:
./configure --with-mysql=/usr/local/mysql --with-apache=/usr/local/work/apache_1.3.14 --enable-memory-limit=yes --enable-debug=no
What I'd like is to be able to have both FancyIndexing and PHP-parsed .html files. Any suggestions?
This bug was previously reported into the Apache-BugDB as internal identification `mod_autoindex/6190'.
-- Edit Bug report at: http://bugs.php.net/?id=7867&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Troy Grady: "[PHP-DEV] "AM_PROG_LIBTOOL" error"
- Previous message: Michael Widenius: "RE: [PHP-DEV] Wierd CVS Build problem with libmysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

