Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

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 'https://x.x.x.x' 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?

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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.

0