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...
Ed_27995
Nimbostratus
Jun 18, 2008Hi nmenant,
Thanks for your response- while you wrote that, I took a look at an iRule headaches post, and modified my script to be more like the second example that cmbhatt provided; the script now looks like:
when HTTP_REQUEST {
if {[findstr [HTTP::uri] "webctid=" 8 2] == "95"} {
if {[findstr[HTTP::uri] "webctid=" 8 2] == "83"} {
HTTP::redirect "http://distance-ed.bcc.ctc.edu/bbmaint.asp"}
}
}
Testing shows that with this script activated, I can reach the login page, but attempting to login with a test "95" account does not trigger a redirect.
I can amend my script to incorporate the logging you recommend. Thanks for your response!
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
