varnish/apache wacky incorrect port issues when link contains atrailing slash

Aurélien footplus at
Tue Feb 7 21:55:19 CET 2012

On Tue, Feb 7, 2012 at 9:51 PM, Andreas Plesner Jacobsen <apj at>wrote:

> On Tue, Feb 07, 2012 at 12:46:25PM -0800, Kevin wrote:
> >
> > Tried setting it globally first and for fun at the VirtualHost
> > level, too, with the same results,   :8080   in any of our URLs when
> > the trailing / is omitted.
> >
> > As much as I hate to say it, this is a show-stopper for me right now
> > with getting Varnish in play in our environment.
> >
> > Anyone have any other ideas?
> Run apache on port 80. We usually bind apache to where
> backend and
> varnish runs on the same machine.
That, and/or perhaps look at the description of the option
UseCanonicalPhysicalPort (
to be clear about the rewriting of Apache port number. Also, please
sure that the redirection was not cached by Varnish.

Best regards,
Aurélien Guillaume
*- By all means break the rules, and break them beautifully, deliberately
and well. That is one of the ends for which they exist. -- *Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list