httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Warwick" <>
Subject RE: Want .html files parsed by php engine
Date Tue, 06 Aug 2002 20:32:47 GMT
If you use MultiViews you do not need to expose the extension of a file,
therefore if you link to /dir/file apache will return file.html if it
exists or run file.php if it exists so you can change from static to
dynamic without having to fix broken links. Also I think Apache will run
file.html.php if you have asked for file.html

It is better not to have to run every html file through the php engine.


-----Original Message-----
From: Jurgen []
Sent: Wednesday, 7 August 2002 5:01 a.m.
Subject: Re: Want .html files parsed by php engine

Hi Gustav,

find the line with:
 AddType application/x-httpd-php .php
and add '.html' at the end so that it is
 AddType application/x-httpd-php .php .html

You should be aware though, that the server will have to parse through
every single .html file, if there is php in it or not.


On Tue, 6 Aug 2002 12:24:43 -0500
Gustav Svensson <> wrote:

> I wonder how I configure the Apache http server so that also .html
documents will be
> parsed by the php engine, not only .php files?
> I'm a nwebie, so I appreciate any help.
> Gustav
> ______________________________________________________
> Här börjar Internet!
> Skaffa gratis e-mail och gratis Internet på
> Spela Spray Quiz med Motorola och vinn en Motorola Talkabout 191.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message