varnish/apache wacky incorrect port issues when link contains atrailing slash
Reinis Rozitis
r at roze.lv
Mon Feb 6 10:32:23 CET 2012
> 1. if there's a way to handle this type of thing more gracefully in
> varnish (and if not)
> 2. does anyone have the mod_rewrite foo to exorcise my new-found trailing
> slash problem?
Try adding:
UseCanonicalName Off
( http://httpd.apache.org/docs/current/mod/core.html#usecanonicalname ) in
your apache config then it should use whatever port/hostname varnish
(client) provides in the redirects rather than the defined in server block.
rr
More information about the varnish-misc
mailing list