Forum Discussion
Hi Wallst,
its not possible to parse on this specific information. Well, its not a fault of your iRule or even F5, its more a thing of the underlying HTTP standart.
In the URI world the Hash-Sign () is called a "Fragment" and is completely suppressed from sending by every browser.
scheme:[//[user:password@]host[:port]][/]path[?query][fragment]
So everthing after the Hash-Sign never hits the wire and therefor never reaches your F5.
For more information refer to: https://en.wikipedia.org/wiki/Fragment_identifierBasics
Note: The Basics fragment of the Wiki site causes your Browser to jump to the section containing the code 'id="Basics"'
But you may want to change your iRule to exclude everything after the Hash-Sign. It would allow you to select the [pool] accordingly...
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/clientxyz*" { pool pool.1 }
default { pool pool.2 }
}
}
Cheers, Kai