login community faq

I'm following

http://community.webfaction.com/questions/2263/how-do-i-use-varnish-to-cache-my-plone-site#fmanswer

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:

1
2
mydomain.example/myplonesite1
*.mydomain.example/myplonesite1

(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
since it is not clear to me if/where host or URL rewriting takes place in my set-up.

asked Oct 22 '12 at 05:18

rogererens's gravatar image

rogererens
11


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

seanf's gravatar image

seanf ♦♦
59491220

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×22
×15
×5
×1

Asked: Oct 22 '12 at 05:18

Seen: 270 times

Last updated: Oct 22 '12 at 08:27

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited