Forum Discussion
Kurt_Knochner_5
Nov 03, 2011Cirrus
O.K. I have not tested it, so you'll have to do it the other way round :-)) Sorry for that.
Can you please try this?
when HTTP_REQUEST {
persist none
all the other stuff
if { [HTTP::path] equals "/api/v1/sendpinajax" } {
log local0. "[IP::client_addr]:[TCP::client_port]: this is the path [HTTP::path] "
HTTP::respond 200 content "HTTP path [HTTP::path]\n\n"
HTTP::path /sendpinajax
pool MM-MEP
persist cookie insert "MM-MEP-SENDPIN"
}
}
BTW: do you know if the clients are using HTTP 1.1?