httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: [users@httpd] Interesting Problem
Date Mon, 26 Nov 2012 19:03:33 GMT


----- Original Message -----

From: "Chris Arnold" <carnold@electrichendrix.com> 
To: users@httpd.apache.org 
Cc: users@httpd.apache.org 
Sent: Monday, November 26, 2012 8:04:34 AM 
Subject: Re: [users@httpd] Interesting Problem 

On Nov 26, 2012, at 7:07 AM, Igor Cicimov < icicimov@gmail.com > wrote: 




Do you have a default one like this 

<Vhost _default_:443> 
or with the ip? 

Yes. Would you care to see it? 

Here it is: 
<IfDefine SSL> 
<IfDefine !NOSSL> 

<VirtualHost *:443> 
#This will be the default vhost because the name starts with 000 

# General setup for the virtual host 
DocumentRoot "/srv/www/htdocs" 
ServerName domain.net:443 
ServerAlias www.domain.net:443 

#ServerAdmin webmaster@example.com 
ErrorLog /var/log/apache2/error_log 
TransferLog /var/log/apache2/access_log 

SSLProxyEngine On 
ProxyPass /ifolder https://192.168.123.4/ifolder 
ProxyPassReverse /ifolder https://192.168.123.4/ifolder 
ProxyPass /admin https://192.168.123.4/admin 
ProxyPassReverse /admin https://192.168.123.4/admin 
ProxyPass /nps https://192.168.123.4/nps 
ProxyPassReverse /nps https://192.168.123.4/nps 
-->ProxyPass / https://192.168.124.3/ 
-->ProxyPassReverse / https://192.168.124.3/ 
<Proxy *> 
Order allow,deny 
Allow from all 
</Proxy> 

# SSL Engine Switch: 
# Enable/Disable SSL for this virtual host. 
SSLEngine on 

The bolded text is trying to ssl proxy https://mail.domain.net 
The apache server address is 192.168.123.3 

Mime
View raw message