You have to change Apaches mime.type file (in "conf" dir)
and remove there the extension ".htm" for html Files (text/html)
the it will work as expected

[ p i x e l p e t e r ]
[EMAIL PROTECTED]

"Dan Long" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am running Apache 1.3 with PHP 4 on a Solaris.  PHP works fine with .php
> extensions, but will not parse from .htm or .html extensions. I have tried
> the standard response, i.e. setting
>
> AddType application/x-httpd-php .htm .html
>
> This continues to process html code, but leaves out all php code for all
> file extensions. (It shows up in the source as text). I next tried:
>
> AddType application/x-httpd-php .php .htm .html
>
> With this, php works fine from .php files, still doesn't read from .htm
> files, and causes all .html files to give a "download file" error.
> I have searched your newsgroup extensively and have not found anyone who
has
> had difficulty with the above fix. I am  at a complete loss on what to try
> next. Any help would be appreciated.
>
> -DanL
>
>





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to