Forum Discussion
Best way to redirect multiple URI's to a full URL
This is the iRule that calls to the data group list that contains the URI's and the redirected URL's works fine.
Does anyone know if you can use the F5 as a reverse proxy when using a data group list that redirects the client? The only resource applied to the virtual server is the iRule. I'd like the clients request to get redirected and proxied by the F5.
when HTTP_REQUEST { log local0. "URI equals [HTTP::uri]" if { [class match [HTTP::path] equals DGL1] } { set key [class match -name [HTTP::path] contains DGL1] set value [class match -value $key contains DGL1] HTTP::respond 302 Location "$value" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
