Forum Discussion
Stanislas_Piro2
Oct 12, 2017Cumulonimbus
Hi,
The problem is what do you mean by whatever? Do you mean every uri but /target ?
when HTTP_REQUEST {
if {!([HTTP::path] starts_with "/Target")}{
log local0. "redirecting client [IP::client_addr]"
HTTP::redirect "/Target"
}
}