Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to use Apache Reverse Proxy to proxy back to two different OWA servers on the same domain. I also want to add on another SSL server to be on the Reverse Proxy. I'm got the Reverse Proxy working, but only one for one OWA. When I hit the OWA site, it works,but the other two does not.

Here is my httpd.conf config

ProxyRequest off
Servername <test.test.com>
ServerAdmin <test@test.com

NameVirtualHost *:443

<VirtualHost *:443>
ServerAdmin test@test.com
ServerName  ServerOWA1.test.com
ErrorLog /var/log/test_log

RewriteEngine On
RequestHeader set Front-End-Https "On"
ProxyPreserveHost On
SSLEngine On
SSLProxyEngine On
ProxyRequests Off
CacheDisable *

SSLCertificateFile /etc/cert
SSLCertificateKeyFile /etc/cert
SSLCertficateChainFile /etc/cert

RewriteRule ^/$  https(:)//serverowa1.test.com/owa  [R]
RewriteRule ^/(.*)  https(:)//serverowa1.test.com/$1 [P]
</VirtualHost>

<VirtualHost *:443>
ServerAdmin test@test.com
ServerName  ServerOWA2.test.com
ErrorLog /var/log/test_log

RewriteEngine On
RequestHeader set Front-End-Https "On"
ProxyPreserveHost On
SSLEngine On
SSLProxyEngine On
ProxyRequests Off
CacheDisable *

SSLCertificateFile /etc/cert
SSLCertificateKeyFile /etc/cert
SSLCertficateChainFile /etc/cert

RewriteRule ^/$  https(:)//serverowa2.test.com/owa  [R]
RewriteRule ^/(.*)  https(:)//serverowa2.test.com/$1 [P]
</VirtualHost>

Just curious if someone can please point me to the right direction or tell me what I'm doing wrong?

share|improve this question
1  
We need you to be far more verbose about what errors you are getting or what behavior you think is broken. –  Zoredache Jan 10 '12 at 18:19
    
That's where it's gets confusing. There isn't any error in the logs. in the serverowa1.test.com log, I see connections and successful connections, but on the serverowa2.test.com, I don't see anything in it's log. I checked the other logs, and they don't have anything pertaining or mentioning serverowa2.test.com. Looking a the config, do you see any error I made? –  yackko Jan 11 '12 at 13:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.