Forum Discussion
1 Reply
Sort By
- HarshaPotharajuNimbostratus
when HTTP_REQUEST { if {[HTTP::uri] starts_with "/test/f2/count" || [HTTP::uri] starts_with "/test/f2/less" } { pool pool_https_abc log local0. "write something" } else {reject} }
Hello guys,
i want to allow only two uri's and block all the default.
example:
i want to allow https://abc.com/test/f2/count and https://abc.com/test/f2/less
and block all other urls on a specific virtual server.
please advise.
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/test/f2/count" ||
[HTTP::uri] starts_with "/test/f2/less" } {
pool pool_https_abc
log local0. "write something"
}
else {reject}
}