Re: Can't AddType .htm
| From: | heinisch at creaction dot de | Date: | Wed, 03 Apr 2002 09:48:10 +0000 |
| Subject: | Re: Can't AddType .htm | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91284@lists.php.net to get a copy of this message | ||
At 02.04.2002 23:44, you wrote:
I run Linux, Apache and PHP4.06. I want PHP to parse .htm documents. I have done this before on other servers with no problem by editing the following line in my httpd.conf. AddType application/x-httpd-php .htm .php .php4 .php3 But after restarting it doesn't do anything. .php files still work and .htm files don't work. If I try other suffixes other than .htm say ".dog" for example that works. So it seems something elsewhere is over riding it. Anyone got any suggestions.should work, do you have something like .htaccess enabled which overrides these settings My httpd.conf has every AddType on a separate line. Are these .htm pages in a directory which is available to apache/php -> 'rights' HTH Oliver