AddHandler application/x-httpd-php .htm in nginx?

Edho P Arief edhoprima at gmail.com
Fri Mar 26 03:05:36 MSK 2010


On Fri, Mar 26, 2010 at 6:48 AM, Luka Horvatic <lists at ruby-forum.com> wrote:
> That command in apache htaccess allows to read htm files as php,so then
> you can load php file with extension htm.How do i enable this on nginx?
> --

location ~ \.htm$ {
  fastcgi_pass ...
  ...
}

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list