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. >> > > If it does need to be a valid dns name then localhost absolutely makes > sense. Where is that requirement coming from? I can think of anywhere off > the top of my head. > The browser needs a valid dns name, which goes to the Host: header. What are other servlet engines using ? If most use a certain word - it may be ok to use it too, for consistency. Otherwise - it's not worth confusing all existing users with a cosmetic change. Costin > > Mark > > > > >> But if someone came up with a fantastic alternate default name, then I >> could be swayed. >> >> >> -Tim >> >> On 7/15/2010 8:51 AM, 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: >>> >>> 1. Is there a better name for the default host >>> >>> 2. If there is, should we change it in Tomcat 7? >>> >>> Users are familiar with localhost and I am worried that changing it will >>> cause more problems than it solves. What do folks think? Should we >>> change the name of the default host to "default", "defaulthost" or >>> something similar for Tomcat 7 or should we just leave it. >>> >>> I have an slight preference for changing it to "defaulthost" but only >>> just. Thoughts? Would this question be better on the users list? >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: dev-h...@tomcat.apache.org >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >