Forum Discussion
Jay_Ward_231434
Nimbostratus
Jun 07, 2016Passthough path and query/parameters, but redirect URL without path or query/parameters.
Hello,
I am looking for some iRule help. I need to be able to passthrough a URL to backend servers that has any path or parameters (this might be default, not sure). For example, https://myexam...
Yann_Desmarest
Cirrus
Jun 07, 2016Hi,
Here an irule example :
when HTTP_REQUEST {
if { [HTTP::uri] eq "/" and [HTTP::query] eq "" } {
HTTP::respond 301 Location "https://redirecturl.com/"
}
}
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