Re: Don't know how to parse *.html with PHP
| From: | Vitaly Voropinov | Date: | Wed, 22 Jan 2003 09:21:23 +0000 |
| Subject: | Re: Don't know how to parse *.html with PHP | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9774@lists.php.net to get a copy of this message | ||
> 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
Mmmm.. I think this trouble arise from mime types
(application/x-httpd-php), but I don't know how to correct it.