I have the domains www.mydomain.example and mydomain.example added to a website mywebsite1 that points to the Varnish app. In the Zope app I have VHM mappings like these:
(I also have a website mywebsite2 with the domain myotherdomain.example that points directly to the Zope app; myotherdomain.example is not in the VHM Mappings, so I can access the ZMI directly).
Do you have any advice on whether or not to enable the option
'Virtual host rewriting takes place front of the caching proxy'
in the section Site Setup > Caching > Caching Proxies
asked Oct 22 '12 at 05:18
Since you're using VHM, and VHM handles your virtual host rewriting, and VHM runs in Zope, and Zope runs behind Varnish, you should not enable the 'Virtual host rewriting takes place front of the caching proxy' option.
answered Oct 22 '12 at 08:27