Matt -
This will do the trick:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/user/*" -
"/home/*" -
"/admin/*" {
pool apache
}
default {
discard
}
}
}
You'll want to change the name of the pool up there from 'apache' to whatever is appropriate. The two key bits in here are the 'switch' and 'string tolower'.
There's more info on switch here:
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=244
...and on Tcl's string manipulation options here:
http://www.tcl.tk/man/tcl8.5/TclCmd/string.htmM49
One consideration might be the display of a 'sorry' page of some kind rather than just discarding the request silently.
(updated - tightened up the matching a little)