httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: _default_ and * in vhost hostnames
Date Sun, 08 Aug 2010 20:04:18 GMT

----- "Dan Poirier" <poirier@pobox.com> wrote:

> Suppose we just make _default_ a synonym of * in virtual host
> hostnames?
> 
> Eric brought this up a while back, with little response at the time.
> 
> Right now, you can only use "*" in the hostname of a name-based
> virtual
> host, and only use "_default_" in the hostname of an IP-based virtual
> host.
> 
> Their meanings are similar already, and any subtle differences in how
> we've defined them aren't really relevant, since you can't use both
> in
> the same virtual host anyway, so there's never any need to
> distinguish
> them.
> 
> So, I'm proposing we simplify the code, and documentation, by making
> _default_ just another name for *, and maybe if we see _default_,
> issuing a warning that its use is deprecated.

+1 -- especially for the deprecation.

My biggest problem with _default_ is folks creating a vhost, putting
it anywhere in the configuration, and then wondering why it's not the
default vhost.. it is, among many other things, a misnomer.

> Thoughts?
> 
> Dan

So long,
-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

Mime
View raw message