[us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread LuKreme
On 16-Sep-2009, at 08:22, Eric Covener wrote: On Wed, Sep 16, 2009 at 10:02 AM, LuKreme wrote: OTOH, _default_ is dangerous, and you have to be sure that it is the LAST directive as it stomps everything that follows it. Whether it comes first or last, it never "covers up" a VirtualHost wit

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Eric Covener
On Wed, Sep 16, 2009 at 10:02 AM, LuKreme wrote: > OTOH, _default_ is dangerous, and you have to be sure that it is the LAST > directive as it stomps everything that follows it. Whether it comes first or last, it never "covers up" a VirtualHost with a specific (and matching) IP address. -- Er

[us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread LuKreme
On 16-Sep-2009, at 07:17, Geurts, G.P.T.M. wrote: Hello, Thanks for your reply! I don't think it whould work for us we use ip based virtual hosting so a virtualhost directive looks like What does the __default__ directive do anyways? _default_ is useful. Say you have 20 IPs on a single

RE: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Geurts, G.P.T.M.
Sent: woensdag 16 september 2009 15:12 To: users@httpd.apache.org Subject: Re: [us...@httpd] Re: how do I *define* a default virtual host What about defining the default VH by using the _default_ expression. Like this ServerName ServerAlias . . . On Wed, Sep 16, 2009 at 7:26 PM, Jan G.B.

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Eric Covener
On Wed, Sep 16, 2009 at 9:12 AM, Igor Cicimov wrote: > What about defining the default VH by using the _default_ expression. Like > this > > > ServerName > ServerAlias > . > . > . > That doesn't make this particular virtualhost the default virtual host for a set of name-based virtual hosts.

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Igor Cicimov
What about defining the default VH by using the _default_ expression. Like this ServerName ServerAlias . . . On Wed, Sep 16, 2009 at 7:26 PM, Jan G.B. wrote: > > > 2009/9/15 LuKreme > >> On 15-Sep-2009, at 09:34, Jan G.B. wrote: >> >>> 2009/9/15 LuKreme >>> I always put my default Vi

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Jan G.B.
2009/9/15 LuKreme > On 15-Sep-2009, at 09:34, Jan G.B. wrote: > >> 2009/9/15 LuKreme >> >>> I always put my default VirtualHost directly into the httpd.conf file, >>> just >>> before the Include line. >>> >>> > I'd say this way it's always unclear which is the default vhost. As you >> have to d

[us...@httpd] Re: how do I *define* a default virtual host

2009-09-15 Thread LuKreme
On 15-Sep-2009, at 09:34, Jan G.B. wrote: 2009/9/15 LuKreme I always put my default VirtualHost directly into the httpd.conf file, just before the Include line. I'd say this way it's always unclear which is the default vhost. As you have to dig through instead of just issuing a `cat /e

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-15 Thread Eric Covener
On Tue, Sep 15, 2009 at 11:34 AM, Jan G.B. wrote: > I'd say this way it's always unclear which is the default vhost. As you have > to dig through instead of just issuing a `cat > /etc/apache2/sites-enabled/*` or just `ls`. apachectl/apache2ctl/httpd -S ? -- Eric Covener cove...@gmail.com

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-15 Thread Jan G.B.
2009/9/15 LuKreme > On 15-Sep-2009, at 01:54, Krist van Besien wrote: > >> On Tue, Sep 15, 2009 at 9:02 AM, robert rottermann >> wrote: >> >>> hi ther, >>> I load my VH's from a directory with a number of VH's >>> >>> is it possible to define which one is the default one? >>> >>> it seems to sel

[us...@httpd] Re: how do I *define* a default virtual host

2009-09-15 Thread LuKreme
On 15-Sep-2009, at 01:54, Krist van Besien wrote: On Tue, Sep 15, 2009 at 9:02 AM, robert rottermann wrote: hi ther, I load my VH's from a directory with a number of VH's is it possible to define which one is the default one? it seems to select the first in alphabetical order. I asume you