hermanoteubr
(usa Outra)
Enviado em 13/05/2010 - 11:55h
Prezados,
Tenho um fedora 8, com Apache 2.0.53 configurado como proxy reverso para meu servidor Exchange 2007, publicando perfeitamente OWA e Outlook Anywhere(RPC-over-HTTP). Acontece que implantei outro servidor Exchange 2007 com as mesmas funções e quero utilizar este mesmo servidor Apache para publicar os serviços.
Acontece que com a configuração que eu tenho, as várias que eu já tentei, o Apache sempre encaminha minha para o primeiro servidor Exchange... Eu n consigo configurá-lo de forma que quando eu acessar webmail.empresaX.com ele encaminhe para o servidor exchange X e quando eu acessar webmail.empresaY.com ele encaminhe para o servidor exchangeY.com
Alguém poderia me dar um help quanto a isso? segue minhas configurações do Apache:
RequestHeader set Front-End-Https "On"
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
RewriteEngine On
RewriteMap percent int:escape
RewriteCond $1 \%
RequestHeader set Front-End-Https "On"
SSLPassPhraseDialog builtin
SSLSessionCache dbm:/usr/local/apache2/logs/ssl_gcache_data
ProxyRequests off
ProxyPreserveHost On
<VirtualHost *>
ServerName webmail.empresaX.com
SSLEngine on
SSLProxyEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/apache2/conf/server.cer
SSLCertificateKeyFile /usr/local/apache2/conf/server.key
ProxyPass /owa
https://webmail.empresaX.Local/owa
ProxyPassReverse /owa
https://webmail.empresaX.Local/owa
ProxyPass /Microsoft-Server-ActiveSync
https://webmail.empresaX.Local/Microsoft-Server-ActiveSync
ProxyPassReverse /Microsoft-Server-ActiveSync
https://webmail.empresaX.Local/Microsoft-Server-ActiveSync
ProxyPass /rpc
https://webmail.empresaX.Local/rpc
ProxyPassReverse /rpc
https://webmail.empresaX.Local/rpc
ProxyPass /rpcwithcert
https://webmail.empresaX.Local/rpcwithcert
ProxyPassReverse /rpcwithcert
https://webmail.empresaX.Local/rpcwithcert
ProxyPass /OAB
https://webmail.empresaX.Local/OAB
ProxyPassReverse /OAB
https://webmail.empresaX.Local/OAB
RewriteEngine On
RewriteMap percent int:escape
RewriteCond $1 \%
RewriteRule ^/$
https://webmail.empresaX.Local/$1 [R]
RewriteRule ^/(.*)
https://webmail.empresaX.Local/$1 [P]
</VirtualHost>
<VirtualHost *>
ServerName webmail.empresaY.com
SSLEngine on
SSLProxyEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/apache2/conf/server.cer
SSLCertificateKeyFile /usr/local/apache2/conf/server.key
ProxyPass /owa
https://webmail.empresaY.Local/owa
ProxyPassReverse /owa
https://webmail.empresaY.Local/owa
ProxyPass /Microsoft-Server-ActiveSync
https://webmail.empresaY.Local/Microsoft-Server-ActiveSync
ProxyPassReverse /Microsoft-Server-ActiveSync
https://webmail.empresaY.Local/Microsoft-Server-ActiveSync
ProxyPass /rpc
https://webmail.empresaY.Local/rpc
ProxyPassReverse /rpc
https://webmail.empresaY.Local/rpc
ProxyPass /rpcwithcert
https://webmail.empresaY.Local/rpcwithcert
ProxyPassReverse /rpcwithcert
https://webmail.empresaY.Local/rpcwithcert
ProxyPass /OAB
https://webmail.empresaY.Local/OAB
ProxyPassReverse /OAB
https://webmail.empresaY.Local/OAB
RewriteEngine On
RewriteMap percent int:escape
RewriteCond $1 \%
RewriteRule ^/$
https://webmail.empresaY.Local/$1 [R]
RewriteRule ^/(.*)
https://webmail.empresaY.Local/$1 [P]
</VirtualHost>