View Single Post
  #6 (permalink)  
Old 2007-11-06, 11:01 AM
GardenSimply GardenSimply is offline
Junior Member
 
Join Date: Nov 2007
Posts: 1
GardenSimply is on a distinguished road
Default

Vladimir,

How would one do what you suggested?

I have a bit of a different problem, but somewhat the same, LOL

I have a site I am changing over from ssi to php I would like to keep the .shtml file name as they are indexed well. When I place

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

in .htaccess, php is of course parsed just fine. The problem is that the pages that still use ssi are not functioning. I don't have time to get all the pages done at once, it is a process that is going to take a few weeks.

IF I add the .shtml to the list above, it won't put the ssi in, but if I leave it out, it will not parse the php on the .shtml pages that are updated with php includes.

Is there any way to get the .shtml pages to provide the server side includes OR the php includes while using the .shtml extension?

You can see it at Sustainable organic gardening for food.

The site is hosted running php5.2.4 and Apache 1.3.39

Last edited by GardenSimply; 2007-11-06 at 11:03 AM.
Reply With Quote