Forum Discussion
1 Reply
Sort By
- Jad_Tabbara__J1Cirrostratus
Hello,
If the /service_name/ is not changing, you can use the following command to do it
when HTTP_REQUEST { if { [string tolower [HTTP::path]] starts_with "/service_name/" } { log local0. "Old path: [HTTP::path]" HTTP::path [string map -nocase { /service_name/ / } [HTTP::path] ] log local0. "New path: [HTTP::path]" } }
Hope it helps
Waiting for your feedback
Regards