Forum Discussion
Anzine321
Cirrus
Mar 28, 2023disable http retry
hi expert i want to disable http retry by using irule, what is irule to do this ?
Hi Anish,
You can trim off the /wiki using string range:
when HTTP_REQUEST {
Check if URI starts with /wiki/
if {[HTTP::uri] starts_with "/wiki/"}{
Send a local redirect without the /wiki string
HTTP::respond 301 Location [string range [HTTP::uri] 5 end]
}
}
Aaron