Forum Discussion
Restrict LTM from serving up root only page requests
Developer wants us to restrict the F5 from serving up any page when the request is directly to the vip without any file specified. IE if the request is to '' then he wants the F5 to not return anything. Might help to mention that they use host headers on their web server. He is aware that he could accomplish this on the server itself, but he's wanting it done on the F5. How best to accomplish this?
1 Reply
- CharlesCS
Cirrus
The easiest way would be to create an LTM Traffic Policy which checked whether the URI path was exactly equal to "/" (which is always present even if the client didn't specify a path), and resets the traffic if that's true. Then assign the policy to the virtual server(s) as needed.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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