For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

larry_p_134874's avatar
larry_p_134874
Icon for Nimbostratus rankNimbostratus
Mar 27, 2014

Proxypass irule: match null URI separately from non-null URI

I want:

    "/" { "/location/program.jsp?1=2&a=b&x=y&foo=bar" }
    "/anythingelse" { "/anythingelse" }

but can't seem to match a null URI & query string - any ideas?

What I'm doing now is using RE's to match strings:

    "/a" { "=/(.*)=/${1}=" }
    "/b" { "=/(.*)=/${1}=" }
    "/" { "/location/program.jsp?etc=" }

but obviously this won't scale well.

Thanks.

No RepliesBe the first to reply