Forum Discussion
Rosario_76826
Nimbostratus
Jan 31, 2008redirect I rule not working
Help!
This Irule is not wotking, this is the error i'm getting
01070151:3: Rule [GOREPORTING-REDIR] error:
line 1: [unknown event (HTTP_REQUEST)] [when HTTP_REQUEST {
...
hoolio
Cirrostratus
Jan 31, 2008The syntax looks okay. You're missing a forward slash after https: and the URI will already have a leading forward slash, so you should be able to use this:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] eq "goreporting.abc.com"} {
HTTP::redirect "https://secure.abc.com[HTTP::uri]"
}
}I assume you have an HTTP profile assigned to the virtual server you're testing this rule on?
Aaron
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