On 5/3/2012 5:57 PM, Chris Darroch wrote:
>
> Hence this patch, which adds a UseCanonicalName XHost option in
> which X-Forwarded-Host is checked first, and if non-blank, is used
> in place of Host to determine the server name. (The Host header is
> left as-is, though.)
That describes your use case, but let's presume this behavior doesn't use
a consistent header name. UseCanonicalName On|Off|{header-name} seems much
more appropriate.
What is the fallback for missing {header-name} values? On, or off? How would
we make this configurable?