Forum Discussion
Hamish
Cirrocumulus
Nov 05, 2014HTTP 501 return from Local Traffic Policy
Hi
Has anyone managed to get a local traffic policy to return a particular HTTP status? I went looking, and I can alter headers, reset connections, choose pools etc... but there's nothing obvious that lets you control the HTTP response status (Except a 302 redirect)
or am I missing something?
TIA Hamish
2 Replies
- What_Lies_Bene1
Cirrostratus
I think this may work but I'm unable to test, bit of a hack you can only do in tmsh;
rules { test_rule_1 { actions { 0 { http-reply redirect location http://www.test.com/ status 501 } } - Hamish
Cirrocumulus
Thanks wlb... I will give that a test...
H
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