Citrix ADC 13 Advanced Topics – Security, Management and Optimization — Question 74
In an SSL offload deployment, which policy will allow a Citrix Administrator to modify all URLs in the response body from "http://" to "https://"?
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://" > add rewrite policy Pol1 true Act1 NOREWRITE
Correct answer: C
Explanation
The correct answer is C, as it correctly specifies replacing 'http://' with 'https://' in the response body. Option A incorrectly uses 'https://' as the pattern to match for replacement, while B contains syntax errors in the patterns and escape sequences. Option D also fails to match the intended replacement correctly, focusing on 'https:' instead of the complete 'https://'.