In your server config file, edit
AddType application/x-httpd-php .php3 .php .php4 .htm .html
and remove any other MIME mappings for .htm or .html. Voila - you just told
your server that all .html files should be processed as PHP.
If you have some .html files that don't need preprocessing, I've heard of
people running two servers on different ports - Apache for all the files
that need processing and something small and fast like OmniHttpd to serve
static files and images. Can anyone give advice about this?
"abe wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> i tried to make .html files run php with limited success (i have to...i'm
> migrating from a unix server with a ton of .html php files)... i set the
> isapi application mapping (i'm running php as an isapi extension), and yet
> i'm getting totally inconsistent results... sometimes, on rare occasion,
it
> works. most other times, the screen's blank, but a view source shows ascii
> gibberish. the rest of the time, php doesn't work and the files are shown
> without any processing.
>
>
>
> help would be greatly appreciated.
>
> thanks.
>
> -abe wong
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]