Citrix ADC 13 Administrator — Question 48
Which policy will allow a Citrix Administrator to modify all the URLs in the response body from "http://" to "https://" in an SSL offload deployment?
Answer options
- A. add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"http://\"" –pattern "https://" add rewrite policy Pol1 true Act1 NOREWRITE
- B. add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"http:\"" –pattern "https://\" add rewrite policy Pol1 true Act1 NOREWRITE
- C. add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"https://\"" –pattern "http://" add rewrite policy Pol1 true Act1 NOREWRITE
- D. add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"https:\"" –pattern "http://"
Correct answer: A
Explanation
Option A is correct because it accurately replaces all occurrences of 'http://' with 'https://' in the response body. Options B and D are incorrect as they either do not specify the correct pattern to replace or incorrectly format the strings. Option C is also wrong because it mistakenly tries to replace 'https://' instead of 'http://'.