Forum Discussion
chris_connell_1
Nimbostratus
Jan 27, 2009irule not working
HI could someone tell me why this irule does not work?
I want to bypass the request
http://www.pistonheads.com/sales
www.pistonheads.com is in the bypass_url_datagroup
when HTTP_REQUEST {
if {[matchclass [HTTP::host] contains ::bypass_url_datagroup] && ([HTTP::uri] contains "/sales")} {
forward}
}
Thanks
It did work when I just had and tried www.pistonheads.com
when HTTP_REQUEST {
if {[matchclass [HTTP::host] contains ::bypass_url_datagroup]} {
forward}
}
Is there some way I can test irules ? i.e. an irule tested?
THanks
- hoolio
Cirrostratus
What type of VIP are you testing this iRule on? Can you post an anonimized copy of the VIP using 'b virtual VIP_NAME list'? - Deb_Allen_18Historic F5 AccountMight be case sensitivity...
if {[matchclass [string tolower [HTTP::host]] contains ::bypass_url_datagroup] \\ && [string tolower [HTTP::uri]] contains "/sales"} {
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