Don't know how to parse *.html with PHP
| From: | Vitaly Voropinov | Date: | Tue, 21 Jan 2003 15:02:24 +0000 |
| Subject: | Don't know how to parse *.html with PHP | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9755@lists.php.net to get a copy of this message | ||
Hi folks,
PHP 4.2.2, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.7-beta3, MySQL
3.23.47 on FreeBSD 4.5
Whenever I configure Apache for PHP-parsing of .html-files, all HTML-files
don't get parsed, instead the dialog "open/save" are shown when I try to
view any .html-page.
At the same time all .php files works correct. This problem occured only
when I add .html files parsing to httpd.conf.
In httpd.conf:
AddType application/x-httpd-php .php - this works correct
AddType application/x-httpd-php .php .html - the dialog "open/save" shown
only with .html, .php still working
thx in advance