I took a quick look through the archives and didn't
find a lot....

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.

Below is an example virutal host. The other virtual
hosts would be similar. For example, replace myhost1
with myhost2 and myhost3.

Is there a way around the caching issue?...thanks.

<VirtualHost 172.18.1.223>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /usr/local/apache/htdocs/myhost1/
    ServerName beta.myhost1.com
    ErrorLog logs/myhost1/errors
    CustomLog logs/myhost1/access common
    DirectoryIndex      index.phtml index.html
    <Files *.phtml>
      SetHandler   perl-script
      PerlHandler  Apache::Template
    </Files>
    # myhost1
    TT2IncludePath     
/usr/local/apache/htdocs/myhost1/tt_lib
    TT2IncludePath     
/usr/local/apache/htdocs/myhost1/tt_config
    TT2PluginBase       MyHost::Template::Plugin
    TT2PreProcess       config
    TT2Params   params uri
    TT2Error    error
    TT2Absolute On
    TT2Relative On
</VirtualHost>

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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

Reply via email to