More specific this:

Default one is the one that is defined first in the list of vhosts no
matter if its name starts with 000 or not.

On 27/11/2012 8:18 PM, "Igor Cicimov" <icici...@gmail.com> wrote:
>
>
> On 27/11/2012 7:16 PM, "Igor Galić" <i.ga...@brainsware.org> wrote:
> >
> >
> >
> > ----- Original Message -----
> > >
> > >
> > > # Catch all VHost, traffic that is NOT going to domain.net
> > > <VirtualHost _default_:443>
> > > ServerName localhost_name.domain.net
> > >
> > > RewriteEngine On
> > > RewriteCond %{HTTP_HOST} ^192\.168\.123\.3$
> > > RewriteRule .* https://domain.net [R,L]
> > > # or do what ever you like with this
> > >
> > > -->ProxyPass / https://192.168.124.3/
> > > -->ProxyPassReverse / https://192.168.124.3/
> > > <Proxy *>
> > > Order allow,deny
> > > Allow from all
> > > </Proxy>
> > > .# SSL stuff here
> > > .
> > > .
> > >
> > >
> > > But if your servers are part of a domain you shouldn't be using their
> > > IP's any way but their FQDN when accessing.
> > >
> > >
> > > On Tue, Nov 27, 2012 at 1:36 PM, Chris Arnold <
> > > carn...@electrichendrix.com > wrote:
> > >
> > >
> > >
> > > # Catch all VHost, traffic that is NOT going to domain.net
> > > <VirtualHost _default_:443>
> > > ServerName localhost_name.domain.net
> > >
> > > -->ProxyPass / https://192.168.124.3/
> > > -->ProxyPassReverse / https://192.168.124.3/
> > > <Proxy *>
> > > Order allow,deny
> > > Allow from all
> > > </Proxy>
> > > .# SSL stuff here
> > > .
> > > .
> > >
> > >
> > > # Catch all VHost, traffic that is NOT going to
> > > domain.net<http://domain.net:443>
> > > <VirtualHost _default_:443>
> >
> > That's not true. _default_ doesn't make the vhost catchall,
> > or default. _default_ is the same as *
> >
> > A vhost with _default_ or * for that matter, will only be
> > default if, in a namebased setup, you put it first.
> >
> If you read my previous posts you will see ive stated that already
>
> > i
> >
> > --
> > Igor Galić
> >
> > Tel: +43 (0) 664 886 22 883
> > Mail: i.ga...@brainsware.org
> > URL: http://brainsware.org/
> > GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > For additional commands, e-mail: users-h...@httpd.apache.org
> >

Reply via email to