Forum Discussion
ShakN_167332
Nimbostratus
Aug 20, 2014Need help in Irule redirection for multiple sites.
in our setup we have sites which are accessed by internal users as well as internet users via http and https. so we have created 4 VS (2 internal VS, one for http and one for https for internal users...
nitass_89166
Noctilucent
Aug 25, 2014e.g.
when HTTP_REQUEST {
if { [HTTP::host] equals "asites.abc.com" } {
if { [class match [HTTP::uri] starts_with test] } {
HTTP::redirect "http://asites.abc.com[class match -value [HTTP::uri] starts_with test]"
}
}
}
if it still does not work, try to add logging and see what you get.
ShakN_167332
Nimbostratus
Aug 26, 2014i added the logging in irule but how to check the logs where the client ip is hitting the irule and redirection is taking place. PLease let me know the cmds to troubleshoot.
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