Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-16 Thread Pid
On 15 Jul 2010, at 16:32, Tim Funk funk...@apache.org wrote: IIRC, there is no requirement. But from a mapping point of view, the name used should match what the browser is sending in the Host: field. Except when the request is deliberately being directed to the defaultHost - which is

[PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Mark Thomas
I'm teaching a Tomcat course today and tomorrow and one of the students raised the question why is the default host called localhost? The implied relationship to 127.0.0.1 was causing confusion. That got me thinking: 1. Is there a better name for the default host 2. If there is, should we

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Ian Darwin
On Thu, Jul 15, 2010 at 01:51:04PM +0100, Mark Thomas wrote: I'm teaching a Tomcat course today and tomorrow and one of the students raised the question why is the default host called localhost? The implied relationship to 127.0.0.1 was causing confusion. That got me thinking: I am about

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Konstantin Kolinko
2010/7/15 Mark Thomas ma...@apache.org: I'm teaching a Tomcat course today and tomorrow and one of the students raised the question why is the default host called localhost? The implied relationship to 127.0.0.1 was causing confusion. That got me thinking: 1. Is there a better name for the

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Rainer Jung
On 15.07.2010 15:34, Konstantin Kolinko wrote: 2010/7/15 Mark Thomasma...@apache.org: I'm teaching a Tomcat course today and tomorrow and one of the students raised the question why is the default host called localhost? The implied relationship to 127.0.0.1 was causing confusion. That got me

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Tim Funk
-0 Since the host name should be a valid dns name(ok it doesn't need to be a valid dns name if Alias is used), choosing a default which doesn't have a valid dns name may cause woes. But if someone came up with a fantastic alternate default name, then I could be swayed. -Tim On 7/15/2010

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Mark Thomas
On 15/07/2010 15:16, Tim Funk wrote: -0 Since the host name should be a valid dns name(ok it doesn't need to be a valid dns name if Alias is used), choosing a default which doesn't have a valid dns name may cause woes. If it does need to be a valid dns name then localhost absolutely makes

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Costin Manolache
On Thu, Jul 15, 2010 at 8:11 AM, Mark Thomas ma...@apache.org wrote: On 15/07/2010 15:16, Tim Funk wrote: -0 Since the host name should be a valid dns name(ok it doesn't need to be a valid dns name if Alias is used), choosing a default which doesn't have a valid dns name may cause woes.

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Tim Funk
IIRC, there is no requirement. But from a mapping point of view, the name used should match what the browser is sending in the Host: field. Tomcat (iirc) doens't do any lookups based on the name field for Host so from that point of view - life in DNS is OK. But to access the tomcat server -

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread Yoav Shapira
On Thu, Jul 15, 2010 at 8:51 AM, Mark Thomas ma...@apache.org wrote: I'm teaching a Tomcat course today and tomorrow and one of the students raised the question why is the default host called localhost? The implied relationship to 127.0.0.1 was causing confusion. That got me thinking: 1. Is

Re: [PROPOSAL] Change the name of the default host in server.xml

2010-07-15 Thread William A. Rowe Jr.
On 7/15/2010 9:44 PM, Yoav Shapira wrote: On Thu, Jul 15, 2010 at 8:51 AM, Mark Thomas ma...@apache.org wrote: I'm teaching a Tomcat course today and tomorrow and one of the students raised the question why is the default host called localhost? The implied relationship to 127.0.0.1 was causing