In an SSL offload deployment, which rewrite action changes all occurrences of 'http://' in the HTTP response body to 'https://'?

Master Citrix ADC13 with Citrix Gateway 1Y0-231 Test. Use flashcards and multiple choice questions with hints. Prepare thoroughly for your exam!

Multiple Choice

In an SSL offload deployment, which rewrite action changes all occurrences of 'http://' in the HTTP response body to 'https://'?

Explanation:
In an SSL offload setup, you want to ensure that any links or references coming back in the HTTP response body use HTTPS, not HTTP, so the client never switches to an insecure connection. To achieve this, you can rewrite the content of the response body by replacing all occurrences of http:// with https://. The correct approach uses a rewrite action that targets the HTTP response body and performs a global replace. It specifies HTTP.RES.BODY(200000) as the input, replaces with the string https://, and searches for the pattern http://. The configuration escapes the replacement string as "\"https://\"" to ensure proper parsing, while the pattern is "http://". This means every http:// found in the response body will be replaced with https://, turning all links to secure ones in the client-visible content. Other options either swap the replacement and the pattern, target a different part of the response (not the body), or use the wrong strings, so they wouldn’t convert http links to https in the body.

In an SSL offload setup, you want to ensure that any links or references coming back in the HTTP response body use HTTPS, not HTTP, so the client never switches to an insecure connection. To achieve this, you can rewrite the content of the response body by replacing all occurrences of http:// with https://.

The correct approach uses a rewrite action that targets the HTTP response body and performs a global replace. It specifies HTTP.RES.BODY(200000) as the input, replaces with the string https://, and searches for the pattern http://. The configuration escapes the replacement string as ""https://"" to ensure proper parsing, while the pattern is "http://". This means every http:// found in the response body will be replaced with https://, turning all links to secure ones in the client-visible content.

Other options either swap the replacement and the pattern, target a different part of the response (not the body), or use the wrong strings, so they wouldn’t convert http links to https in the body.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy