Forum Moderators: phranque

Message Too Old, No Replies

Parsing PHP and SSI

is it possible to parse .htm files for both?

         

volatilegx

5:25 pm on Oct 31, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Will this work in .htaccess?

AddType application/x-httpd-php .htm
AddType text/html .htm
AddHandler server-parsed .htm

Will this parse .htm files for both Server Side Includes and PHP?

coopster

7:23 pm on Oct 31, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Yeah, you can parse both PHP and SSI. Which version of Apache are you running?

Related thread:
When parsing SSI's, PHP files don't work [webmasterworld.com]

volatilegx

3:03 am on Nov 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Coopster. Running 1.3

I've got it covered now.

Dan