Varnish and Subdomains

Sheldon Dsouza sheldond at
Sun Jun 20 14:40:36 CEST 2010

I have installed varnish on my test and production server.

I have many subdomains that are used - for users of our site. - for our clients which requires authentication. - for our call center which requires authentication.

After setting up varnish the user site worked perfectly but
the subdomains started redirecting to the parent domain

How do i prevent the subdomains from caching? as they require authentication
and i have also added the check for Cookies which passes the request
directly to backend server apache.

I have also attached a copy of my configuration.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tastykhana.vcl
Type: application/octet-stream
Size: 7048 bytes
Desc: not available
URL: <>

More information about the varnish-misc mailing list