Re: [PATCH] Re: fix_hostname() in 1.3.30-dev broken

2004-03-27 Thread Jeff Trawick
Jim Jagielski wrote: Index: src/main/http_vhost.c === RCS file: /home/cvs/apache-1.3/src/main/http_vhost.c,v retrieving revision 1.37 diff -u -r1.37 http_vhost.c --- src/main/http_vhost.c16 Feb 2004 22:29:33 -1.37 +++ src/m

[PATCH] Re: fix_hostname() in 1.3.30-dev broken

2004-03-24 Thread Jim Jagielski
Whatever uses ap_get_server_port() would "use" the Port number included in the Host: header. This includes mod_vhost_alias, mod_proxy, mod_rewrite and Apache itself when it creates self- referential URLs (hence UseCanonicalName). Note that it's ONLY when UseCanonicalName is Off that this is an issu