* Douglas S. Sparling <[EMAIL PROTECTED]> [2002-08-02 12:50]:
> We're trying to set up a cobranded site using the same
> templates but different headers per virutal host.
> 
> As I move from site to site with my browser I start
> getting the wrong headers for some pages. Once I turn
> caching off in my browser everything works fine...
> 
> Right now this is on a beta machine using
> Apache::Template and I have TTCompileDir off.

The problem here is that Apache::Template creates a single set of
Template objects and holds onto them.  In the case of a non-vhost setup,
this works very well, and is very efficient.  In the case of vhosts,
however, the first vhost a child gets creates the objects, which
maintain the same INCLUDE_PATH entries, and therefore often look in the
"wrong" place for included files.

Is there a solution?  Possibly... watch this space.

(darren)

-- 
He who has never configured `sendmail.cf' has no courage. He who has
configured it more than once has no brain.

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates

Reply via email to