Forum Discussion
Ed_27995
Nimbostratus
Jun 18, 2008iRule seems to block page request
Hi All,
I have created the following iRule-
when HTTP_REQUEST {
if {[findstr [HTTP::uri] "webctid=" 8 2] == "83"}
{HTTP::redirect "http://distance-ed.bcc.ct...
Nicolas_Menant
Employee
Jun 18, 2008Hi,
Your iRule should be fine i think, maybe you shoudl try this:
when HTTP_REQUEST {
log local0. "uri is [HTTP::uri]"
set val [findstr [HTTP::uri] "webctid=" 8 2]
log local0. "val is $val"
if {$val == "83"} {
log local0. "val matched 83"
HTTP::redirect "http://distance-ed.bcc.ctc.edu/bbmaint.asp"
}
elseif {$val == "95"} {
log local0. "val matched 95"
HTTP::redirect "http://distance-ed.bcc.ctc.edu/bbmaint.asp"
}
}
Then check the output in /var/log/ltm
Can you show it to us ?
Thanks !
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
