Forum Discussion
Daniel_Varela
Jan 24, 2018Employee
Hi Ralph, Please add debugging and post it here otherwise is really difficult to see where is the problem. You can find that by executing tail -f /var/log/ltm in rhe command line.
when HTTP_REQUEST {
log local0. "URI: [HTTP::uri]"
log local0. "IP: [IP::client_addr]"
if { ([HTTP::uri] ne "/cvs/chn.website.cvs.Account_1.0?wsdl") and ([IP::client_addr] equals "192.168.100.201")} {
reject
}
}
Some notes: HTTP::uri does not return the hostname but it will include all the parameters in the URL. The irule won't work unless the URI is an exact match. Try to chuck the irule in smallest pieces and verify if the functionality separately.