Forum Discussion
Kevin_Stewart
Jul 15, 2015Employee
What is this part: HTTP:respond 302 location..
This is an HTTP response command. You're essentially instructing the iRule to issue an immediate HTTP response to the client, with a status code of 302 (redirect), and a Location header that points to the desired URL.
Also even though the original client request is HTTPS do we still need to put "when HTTP_REQUEST" ?
Yes. The S in HTTPS is SSL, which is an OSI layer 6 wrapper around the layer 7 HTTP communications. SSL is processed and removed before the HTTP request is processed, so both HTTP and HTTPS requests are still HTTP and processed as HTTP events.