William A. Rowe, Jr. wrote:

UseCanonicalName Off
Listen 8080
Port 80

an inbound request with a Host header of foo:80 would respond with
the redirection http://foo:80/

It does not. The Listen port again applies until you turn UseCanonicalName On.

We had something similar. What we did that works is:


UseCanonicalName On
Listen 80
Listen 8080
ServerName www.domain.com:80


So redirects, no matter what port they came in one, get redirected to port 80. This was our desired effect.



-- Brian Akins Senior Systems Engineer CNN Internet Technologies



Reply via email to