host header altered by Varnish?
John Norman
john at 7fff.com
Wed Feb 24 22:21:19 CET 2010
Sorry about all the questions . . .
On my backend I want to redirect domain.com to www.domain.com
I see Host: domain.com in both the RX and TX sections of the log . . . but
the redirect isn't getting triggered.
The backend is Apache, and the redirect directives are routine.
RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com$1 [R=301,L]
Am I missing something?
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100224/16c863cc/attachment-0001.html>
More information about the varnish-misc
mailing list