Forum Discussion
Robert_LaGrasse
Nimbostratus
Jul 14, 2006Appending address to uri
Stuck this in the wrong forum before...
Probably a very simple task for you iRule gurus out there, not so simple for my first iRule. Here's what I'm trying to accomplish... when the client r...
Robert_LaGrasse
Nimbostratus
Jul 14, 2006Thanks for the quick reply. I actually came up with this and successfully tested it a few minutes before I received your post:
when HTTP_REQUEST {
set request [HTTP::uri]
if {$request contains "login.aspx" and $request contains "?"}
{HTTP::uri "[HTTP::uri]&IPAddress=[IP::client_addr]"}
elseif {$request contains "login.aspx"}
{HTTP::uri "[HTTP::uri]?IPAddress=[IP::client_addr]"}
}
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