Forum Moderators: phranque

Message Too Old, No Replies

php parsing of html pages with ssi turned on

php parsing of html pages with ssi

         

westmc

3:18 am on Apr 28, 2005 (gmt 0)

10+ Year Member



I am trying to have Apache parse php in html pages. I have tried Apache 2.0.54 with both php 5.0.4 and php 4.3.11 but I have run into a problem. As soon as I turn on ssi parsing of html pages, Apache will seg fault. It works otherwise, but we currently rely on ssi's so turning it off is not an option.

Does anybody have advice on how to get Apache to parse html pages with both php and ssi's?

jdMorgan

3:47 am on Apr 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This thread [webmasterworld.com] may be of some help.

Jim

sitz

3:53 am on Apr 28, 2005 (gmt 0)

10+ Year Member



(deleted, due to the fact that I'm a slow-poke again)

gomer

5:19 pm on Apr 28, 2005 (gmt 0)

10+ Year Member



I too would very much appreciate more thoughts on php parsing of html with ssi.

Thanks.

daneosporin

2:22 pm on Apr 29, 2005 (gmt 0)

10+ Year Member



JD thanks for the suggested thread. I was previously getting the "open with default application" notice every time. Now I have changed the code in my .htaccess file to this:

Options +Includes
AddType text/html .html
AddHandler server-parsed .html

Now the page with the includes just ignores the include commands. Any ideas?