Welcome! Log In Create A New Profile

Advanced

Re: Treat .htm files as PHP?

July 01, 2009 05:18PM
Should be as simple as changing a php block and changing the extension
to htm and passing it on to fastcgi like normal. I think.

Sent from my iPhone

On Jul 1, 2009, at 2:01 PM, John Moore <grails@jmsd.co.uk> wrote:

> I know how to do this with Apache, not so sure with nginx. One one of
> the websites I am hosting I want to use some PHP, but I don't want to
> rename the files from *.htm to *.php - I want the *.htm pages to be
> parsed as PHP (but for that site, or location, only). I should add
> that
> I have PHP set up and working fine with nginx, so that is not an
> issue.
>
> TIA,
>
> John
>
>
Subject Author Posted

Treat .htm files as PHP?

John Moore July 01, 2009 05:01PM

Re: Treat .htm files as PHP?

mike July 01, 2009 05:18PM

Re: Treat .htm files as PHP?

John Moore July 02, 2009 05:07AM

Re: Treat .htm files as PHP?

Phillip Oldham July 02, 2009 05:28AM

Re: Treat .htm files as PHP?

John Moore July 02, 2009 06:05AM

Re: Treat .htm files as PHP?

mike July 02, 2009 01:23PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready