Which Responder policy expression matches the root URL for redirection to the home page?

Study for the Citrix 1Y0-241 and 1Y0-240 exam. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

Which Responder policy expression matches the root URL for redirection to the home page?

Explanation:
To redirect the root URL, you need an exact match of the path "/". In this Responder policy language, http.REQ.URL represents the path portion of the request, and the EQ operator checks for exact equality. Therefore, http.REQ.URL.EQ('/') will be true only when the requested path is exactly "/", i.e., the root, ensuring the redirect triggers only for the homepage and not for any other pages. Using a contains check would be too broad and would match many URLs that happen to include a slash, startsWith('/home') would miss the root entirely, and using the URL expression without a comparison isn’t a proper condition.

To redirect the root URL, you need an exact match of the path "/". In this Responder policy language, http.REQ.URL represents the path portion of the request, and the EQ operator checks for exact equality. Therefore, http.REQ.URL.EQ('/') will be true only when the requested path is exactly "/", i.e., the root, ensuring the redirect triggers only for the homepage and not for any other pages. Using a contains check would be too broad and would match many URLs that happen to include a slash, startsWith('/home') would miss the root entirely, and using the URL expression without a comparison isn’t a proper condition.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy