Apache+SSL+IIS

Anthony DeStefano ajd at tasteslikeburning.net
Fri Sep 12 01:07:34 UTC 2008


On Thu, Sep 11, 2008 at 3:32 PM, Paulo Cesar Naves Mota
<Paulo.Mota at cetelem.com.br> wrote:
> Hello everybody,
>
>     I am trying to implement in my corporation, Apache+SSL in front-of
> I.I.S that be in the intranet, when I write on browser
> https://webmail.corporation.com.br, show me 2 certificates , the first
> is my apache and second is IIS. I don't know if it is correct? In below
> one piece of my  ssl.conf.
>
> <VirtualHost _default_:443>
>
> # General setup for the virtual host, inherited from global configuration
> DocumentRoot "/var/www/html"
> ServerName webmail.cetelem.com.br:443
>
> RewriteEngine On
> #RewriteMap damnpercent prg:/usr/local/bin/percent_rewrite
> RewriteCond $1 ^/.*\%.*$
> RewriteRule (/.*) ${damnpercent:$1} [P]
>
> Redirect / http://spos13252.cetelembr.cnet.intra/exchange
>
> RewriteCond $1 ^/exchange/.*\%.*$
> RewriteRule (/exchange/.*) ${damnpercent:$1} [P]
>
> RequestHeader set Front-End-Https "On"
>
> ProxyPass / http://fqdn_machine/exchange/
> ProxyPassReverse / http://fqdn_machine/exchange/
> ProxyPass /exchange http://fqdn_machine/exchange/
> ProxyPassReverse /exchange http://fqdn_machine/exchange/
> ProxyPass /exchweb http://fqdn_machine/exchweb/
> ProxyPassReverse /exchweb http://fqdn_machine/exchweb/
> ProxyPass /public http://fqdn_machine/public/
> ProxyPassReverse /public http://fqdn_machine/public/
> ProxyPass /iisadmpwd http://fqdn_machine/iisadmpwd/
> ProxyPassReverse /iisadmpwd http://fqdn_machine/iisadmpwd/
> CacheDisable *
> Redirect Permanent / https://webmail.mycorporation.com.br/
> AllowCONNECT 443

All you really need is the proxy and not the rewrite or redirect. You
can find more information at
http://gregsidberry.com/2007/08/31/how-to-get-apache-proxypass-working-with-ssl/

--Anthony




More information about the redhat-list mailing list