when HTTP_REQUEST {
Check host is www.test.com
if {[string tolower [HTTP::host]] eq "www.test.com"}{
Check if URI starts with /abc
if {[HTTP::uri] starts_with "/abc"}{
Check if URI is not exactly "/abc/test/login"
if {[HTTP::uri] ne "/abc/test/login"}{
Send a 404 response
HTTP::respond 404 content {not found}
}
}
}
}