Forum Discussion
2 Replies
Sort By
- Dave_McCauley_3Cirrostratus
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/ab_cd/" } { HTTP::uri [string map {"/ab_cd/" "/ab-cd/"} [HTTP::uri]] } }
- foubou31_385587Nimbostratus
Thank you ;)
I need to replace part of the URL: ... at ... so when the URL is called with / ab_cd / replace it with / ab-cd /
How can I do it ?
Thank you
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/ab_cd/" } {
HTTP::uri [string map {"/ab_cd/" "/ab-cd/"} [HTTP::uri]]
}
}
Thank you ;)