Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 80131 invoked from network); 19 Dec 2003 17:17:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Dec 2003 17:17:07 -0000 Received: (qmail 17809 invoked by uid 500); 19 Dec 2003 17:16:23 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 17752 invoked by uid 500); 19 Dec 2003 17:16:23 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 17646 invoked from network); 19 Dec 2003 17:16:22 -0000 Received: from unknown (HELO chiark.greenend.org.uk) (193.201.200.170) by daedalus.apache.org with SMTP; 19 Dec 2003 17:16:22 -0000 Received: by chiark.greenend.org.uk (Debian Exim 3.35 #1) with local id 1AXOEi-0005Au-00; Fri, 19 Dec 2003 17:16:24 +0000 Date: Fri, 19 Dec 2003 17:16:24 +0000 From: Tony Finch To: docs@httpd.apache.org Cc: dev@httpd.apache.org Subject: Re: UseCanonicalName Off *surprise* Message-ID: <20031219171624.GF20578@chiark.greenend.org.uk> References: <5.2.0.9.2.20031219095535.01795540@pop3.rowe-clan.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.2.20031219095535.01795540@pop3.rowe-clan.net> User-Agent: Mutt/1.3.28i Sender: Tony Finch X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, Dec 19, 2003 at 10:04:15AM -0600, William A. Rowe, Jr. wrote: > > UseCanonicalName Off, Host: header provided (HTTP/1.1) > > The host name header *excluding the host header port suffix * of the request > is concatenated to httpd 1.3's Port directive setting or the real port number > in httpd 2.0. The Port directive has some muddled ServerName/UseCanonicalName semantics which is what distinguishes it from the Listen directive. I think the behaviour you describe is intended. > Now this might appear to be a moot issue, but if a proxy that doesn't mangling > headers bounces requests from port 80 to another server's port 8080 attempting > to impersonate the front end proxy, everything should work, in theory, with > UseCanonicalName Off. As it turns out, UseCanonicalName must be turned > on to avoid the port :8080 suffix from being appended to the redirects. In this situation you should be using Listen rather than Port. Is 2.0 different? Tony. -- f.a.n.finch http://dotat.at/ SHETLAND ISLES: NORTHWEST 4, EASING VARIABLE 2. LATER INCREASING EAST THEN NORTHEAST 5 OR 6. MAINLY FAIR, ISOLATED SHOWERS. GOOD. MODERATE.