Forum Discussion
Thomas_Lam
Nimbostratus
Mar 14, 2016starts_with Not working
Hi there,
the target url is "https://portal.abc.com/store/register.aspx?lang=en"
I tried to redirect the page when hit the above url with below irule, but it didn't work.
when HTTP_REQUEST {
if...
John_Beckmann
Employee
Mar 14, 2016Have you tried adding some logging, so you can see what [HTTP::uri] is?
Have you tried adding some logging, so you can see what [HTTP::uri] is?
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "register.aspx" } {
log local0. "HTTP::URI: [HTTP::uri]"
HTTP::respond 200 content "It works"
}
}
This will log on /var/log/ltm
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