Forum Discussion
Mike_59458
Nimbostratus
Jul 21, 2011Redirect 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
- The_Bhattman
Nimbostratus
Hi Mike,I am assuming that SSL is being terminated at the F5.
HTTP::redirect "https://[HTTP::host]/[HTTP::uri]"
- Mike_59458
Nimbostratus
Bhattman, - Mike_59458
Nimbostratus
Bhattman, - The_Bhattman
Nimbostratus
Hi Mike, - Hey Mike, just to clarify if you were to use "https://[HTTP::host]/[HTTP::uri]" you're going to redirect to the same host and uri you're currently conected to..... on HTTPS
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects