I was able to use PHP in my existing legacy HTML files with the
following:

  AddType application/x-httpd-php .html

Next step was to be able to use PHP in my existing .shtml files as well.
However, when I added the following

  AddType application/x-httpd-php .html .shtml

my browser no longer saw text/html but saw application/x-httpd-php,
didn't understand it, and wanted to save it instead of show it.

Is it possible to mix both SSI and PHP in a .shtml file? If so, do you
have any configuration suggestions?

-- 
Bill Wohler <[EMAIL PROTECTED]>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to