[oclug] Apache using php for .html
Michael Thomas
mike at bedarra.com
Wed Jun 9 18:07:29 EDT 2004
Michael Lauzon wrote:
>Don't know if this will be right, but try adding:
>
>.phtml
>
>And save a file that way, and try viewing it.
>
>
Thanks, but that won't solve the issue of serving files with .html
extensions(I don't want to have to rename them all).
It looks like php isn't parsing the .html and apache is sending the
unparsed content with a content-type of application/x-httpd-php (mime
type specified using the AddType), thereby causing the browser to prompt
for save or open.
Mike.
More information about the OCLUG
mailing list