Forum Discussion
jmolchin_47123
Nimbostratus
Nov 07, 2013URL Redirect
Want to rewrite the source URL. Is the syntax correct?
when HTTP_REQUEST {
if { "[HTTP::host]" equals “http://port80.port.com”} {
HTTP::redirect "https://port80.port.com:8040/OA_HTML/AppsLocalL...
Kevin_Stewart
Employee
Nov 07, 2013Pretty close:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals “port80.port.com” } {
HTTP::redirect "https://port80.port.com:8040/OA_HTML/AppsLocalLogin.jsp"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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