Forum Discussion
hooleylist
Feb 19, 2009Cirrostratus
For background, an HTTP redirect instructs the client to make a new GET request to the redirect URL in the location header. The response status for the redirect is generally a 301 or 302. The browser will show the updated URL in the address bar. Contrast this with LTM receiving a request from the client and rewriting the Host header in the request it proxies to the pool member. The browser address bar would still show the original URL.
Maybe it would be easier for you to explain what are you trying to accomplish rather than what you're thinking you want to do in an iRule. Are you trying to have a client connect to an existing web application using a URL and then have LTM rewrite the request to a server that answers using a different hostname? If this doesn't sound correct, can you elaborate on what you're trying to do?
Thanks,
Aaron