Mike_59458
Jul 21, 2011Nimbostratus
Redirect connection in virtual server
I am looking to prevent a HTTPS request that ends in /owa (ie HTTPS://APP.Domain.com/OWA) to access the application (Exchange 2010). We are preventing using Microsoft Outlook Web Access /OWA from being accessed from outside our environment. We would like to redirect the request to the approved access portal (ie HTTPS://remote.domain.com). Once logged into the remote application users can access the Exchange OWA.
The only protocol that will be allowed is Exchange Activesync
I am thinking:
iRule to select pool and persistence for Active Sync.
All other protocol redirected to remote.dot.gov
when HTTP_REQUEST {
log local0.info "path = [HTTP::path] "
switch -glob [HTTP::path] {
"/Microsoft-Server-ActiveSync*" {
Direct all ActiveSync clients to a common pool; use
HTTP cookie persistence
persist cookie
pool Exch2010__single_as_pool
}
default {
This final section takes all non ActiveSync traffic
and redirect it to remote.dot.gov
HTTP::redirect https://[https::host][https::uri]
}
}
}
I am seeing the problem at the HTTP::redirect line. How do I configure the redirect line to go to HTTPS://remote.domain.com?
Mike Bednarck