making php parse .htm pages

2 posts / 0 new
Last post
#1 Fri, 09/20/2013 - 14:23
kdani

making php parse .htm pages

I am trying to make php sever pages with .htm extention.

in the edit directive in the sites, I've made sure allow override all

and in the folders I've put this .htaccess file (with persmission as the site user and 775)

RemoveHandler .htm .html AddType application/x-httpd-php5 .htm .htm AddHandler application/x-httpd-php5 .htm AddType application/x-httpd-php .htm .html AddHandler application/x-httpd-php .htm .html AddHandler x-httpd-php .html .htm

It doesn't work. I get the htm files server by apache without php.

How can I achive this ?

Sat, 01/18/2014 - 20:15
kthxbai2u

I am trying to do the same... I did it before on a non-virtualmin server but it doesn't seem to work on the virtualmin server...

Topic locked