Forum Discussion

Aviv's avatar
Aviv
Icon for Cirrus rankCirrus
Jun 11, 2017

Redirect to another virtual server when owa or ecp

Hi All!

 

i have configured 2 i app templates of exchange 2016.

 

1.iapp that publish everthing except owa - without APM 2.iapp that publish owa and ecp with apm. both of the iapps working as expected.

 

now, i want to point all trafic to the first iapp and if the client request owa or ecp to redirect the traffic to the second iapp/VS.

 

i tried to edit the first iapp and add to the irule this line: virtual /Access/Exc2016owa.app/Exc2016owa_combined_https

 

this is the irule:

 

priority 900 when HTTP_REQUEST { if { ([HTTP::uri] == "/") } { virtual /Access/Exc2016owa.app/Exc2016owa_combined_https HTTP::redirect https://[HTTP::host]/owa/ log local0. "vs owa" } }

 

but owa is not opend.

 

please help, Aviv Hassidim

 

1 Reply

  • Hi,

    Maybe you can try this irule :

     when HTTP_REQUEST priority 1 { 
        if { [HTTP::path] starts_with "/owa" or [HTTP::path] starts_with "/ecp" } { 
            virtual /Access/Exc2016owa.app/Exc2016owa_combined_https 
            log local0. "vs owa" 
        } 
    }