Forum Discussion
Stanislas_Piro2
Aug 23, 2017Cumulonimbus
Hi,
you can try this irule
when HTTP_REQUEST {
if {[HTTP::host] equals "www.abc.com"} {
switch [HTTP::path] {
"/" - "/xyz" {HTTP::respond 301 Location "https://www.abc.com/xyz/Login.aspx?ReturnUrl=%2fxyz"}
}
}
}
For you information, even if user enter in browser bar ";, ";, ";, ";, "; or ";, the HTTP request is the same:
GET / HTTP/1.1
Host: www.abc.com
User-Agent: blablabla
Other headers: blablabla