httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] Interesting Problem
Date Tue, 27 Nov 2012 03:17:46 GMT
# Catch all VHost, traffic that is NOT going to
domain.net<http://domain.net:443>
<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@electrichendrix.com>wrote:

> # Catch all VHost, traffic that is NOT going to domain.net<http://domain.net:443>
> <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
> .
> .
>

Mime
View raw message