Forum Discussion
Joe_Pipitone
Nimbostratus
Apr 13, 2010Big-ip syslog errors continue
After combining multiple redirect iRules into one master iRule, I'm still getting the following error in the big-ip logs.
I was under the impression that having separate iRules with redirect statem...
Joe_Pipitone
Nimbostratus
Apr 22, 2010For example, this code below will not carry over the query if i change HTTP::path to HTTP::uri. It simply rewrites to default.aspx with no query appended.
switch [string tolower [HTTP::path]] {
"/info.aspx" {
HTTP::redirect "http://subdomain.ourdomain.com/default.aspx?[HTTP::query]"
}
}
http://domain.com/info.aspx?id=4453 is supposed to be rewritten as http://subdomain.ourdomain.com/default.aspx?id=4453, however it is actually rewritten as http://subdomain.ourdomain.com/default.aspx. This is why I had to separate the rule and incorporate HTTP::path.
Thanks for your suggestions above, I will give those a shot and post my results.
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