Re: Interesting Problem

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

 





# 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
.
.


[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