Forum Discussion
Mike_Graston_10
Mar 13, 2007Nimbostratus
So let me get this right, The log will only populate if the condition is met as containing /abc.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/abc"} {
log local0. "Client IP is [IP::client_addr]"
HTTP::respond 401
TCP::close
}
}
Can I add to the 401 page so that the client sees the message - Your IP address "[IP::client_addr]" has been logged?
Also if the condition is met I would like to terminate the session?
Also you said it would go to the virtual server then to be processed normally?