Forum Discussion
FLHouse_151647
Nimbostratus
Jan 25, 2017iRule for specific URL from HTTPS to HTTP
iRule to redirect HTTPS back to HTTP only for specific URL with wildcard after ? "/VideoPlayer.aspx?eventID=2443575804_2017011157&committeeID=2911"
I have a iRule to redirect HTTP to HTTPS when ...
crodriguez
Jan 25, 2017Ret. Employee
How about something like what's below to start from for the HTTPS virtual server. You can use HTTP::path to extract just the path portion of the URI (without the query string).
when HTTP_REQUEST {
if { [string tolower[HTTP::path]] ends_with "videoplayer.aspx" } {
HTTP::redirect "http://[HTTP::host][HTTP::uri]"
}
}
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