nkroon1
Aug 16, 2019Cirrus
iRule Help - Change URL URI
Hello. I've been having issues with this all morning. I've tried a few different variations but none seem to work.
I'm attempting to change the uri of a URL. For example,
example.com/nav to example.com/help
I've tried a few different iRule, for example the one below.
when HTTP_REQUEST {
if : [string tolower [HTTP::host]] equals "example.com"} {
set HTTP::uri /help
}
}
I tried another attempt to do redirects, but ended up breaking the page, as any link or action you attempted on the page just ended up failing or making the page freak out.
Thanks