Forum Discussion
OTS02
Cirrus
Aug 19, 2015Is it possible to use an LTM Policy for sending 301 redirects?
Am experimenting with Policies. Hoping it is possible to send 301 redirects with a Policy.
Kevin_Stewart
Employee
Aug 19, 2015An LTM policy redirect will only send a 302. You'll need an iRule to send a 301.
when HTTP_REQUEST {
if { something } {
HTTP::respond 301 Location "somewhere"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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