Forum Discussion

KDN_51800's avatar
KDN_51800
Icon for Nimbostratus rankNimbostratus
Mar 03, 2008

HTTP Redirect variations?

We are using a HTTP redirect iRule from DC and it has been working for a while but recently we have an application that does not work with this particular iRule and we were wondering we see some irules with "" and some not does this make a difference? Please Advise...

 

 

With ""

 

 

when HTTP_REQUEST {

 

HTTP::redirect "https://[HTTP::host][HTTP::uri]"

 

}

 

 

No ""

 

 

when HTTP_REQUEST {

 

HTTP::redirect https://[HTTP::host][HTTP::uri]

 

}

1 Reply

  • You might run into problems with the redirect if the client sends a pre-HTTP 1.1 request with no Host header value. As Dennis suggested, using an HTTP debugger should give you a good indication of what the problem is.

     

     

    Aaron