sbadea_81872
Apr 03, 2013Nimbostratus
iRule and robots.txt
Hi all,
I have an irule that redirects HTTP to HTTPS and adds www (see below). Is it possible to skip enforcing SSL to a page that looks like this http://www.mycompany.com/robots.txt
when HTTP_REQUEST
{ if { [HTTP::host] eq "mycompany.com" } { HTTP::redirect "https://www.mycompany.com" }
elseif { [HTTP::host] eq "www.mycompany.com" } { HTTP::redirect "https://www.mycompany.com" } }
Thank you.