Forum Discussion
subhasish_prati
Nimbostratus
Jan 16, 2019irule not working
I am using the below irule in the WIP and the outcome expected is when the extension is exp it should direct to specific IP address and respectively for other extension . I am able to see increase in...
Kai_Wilke
MVP
Jan 16, 2019Hi Subhasish Pratihar,
the command
HTTP::respond 301 "Location" "https://a.b.c.d:8082/exp"
will send a HTTP response to the clients informing them that the resource has been "Moved Permanently" to the new location https://a.b.c.d:8082/exp
.
The clients will send then a new request directly to the URL
https://a.b.c.d:8082/exp
and should also cache the new location locally, so that subsequent request will be redirected within the browser without sending any traffic to the old location...
Is this what you are trying to accomplish? I'm asking because lots of users are getting confused with terms "redirect to a different site" and "forward the ongoing request to a given backend pool".
Cheers, Kai
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects