Forum Discussion
BKA_201457
Nov 05, 2015Nimbostratus
302 Redirects
Good day. I m trying to take the following URL and redirect to the following following URL.
Following URL:
http://site.domain.com/OA_HTML/xxibeCAcdLogin_VA.jsp
Following following UR...
cdougall_14195
Nov 05, 2015Cirrus
This should get you what you need.. if it doesn't, would you post the full configuration of the virtual that you're working with?
when HTTP_REQUEST {
if {[string [HTTP::uri]] starts_with "/OA_HTML/xxibeCAcdLogin_VA.jsp" }{
HTTP::respond 302 Location "https://site.domain.com/OA_HTML/xxibeVAHome.jsp"
}
}
OR
when HTTP_REQUEST {
if {[string tolower [HTTP::uri]] starts_with "/oa_html/xxibecacdlogin_va.jsp" }{
HTTP::respond 302 Location "https://site.domain.com/OA_HTML/xxibeVAHome.jsp"
}
}
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