Re: Interesting Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- 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 <
> carnold@xxxxxxxxxxxxxxxxxxx > 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.

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux