Forum Discussion

samo's avatar
samo
Icon for Nimbostratus rankNimbostratus
Jul 11, 2019

HTTP redirect when Path is / and host is not FQDN

I wrote a simple irule to do HTTP redirect: when HTTP_REQUEST {   if { !([string tolower [HTTP::host]] ends_with "mycompany.com") } { append [HTTP::host] "mycompany.com" }       if { [HTTP::path]...