ADC CLI Commands

responder-htmlpage

The following operations can be performed on “responder-htmlpage”:

show update rm import

show responder htmlpage

Displays the specified HTML page object. If no HTML page object is specified, lists all HTML page objects on the Citrix ADC.

Synopsis

show responder htmlpage []

Arguments

name Name of the HTML page object to display.

Output

response

Example

show responder htmlpage

update responder htmlpage

Updates the specified HTML page object from the source.

Synopsis

update responder htmlpage

Arguments

name Name to assign to the HTML page object on the Citrix ADC.

Example

update responder htmlpage my-responder-page

rm responder htmlpage

Removes the specified HTML page object.

Synopsis

rm responder htmlpage

Arguments

name Name of the HTML page object to remove.

Example

rm responder htmlpage

import responder htmlpage

Imports the specified HTML page to the Citrix ADC, assigns it the specified name, and stores it in the list of Responder HTML page objects. This page can be used as a HTTP response body using the Responder respondwithhtmlpage action type. The HTML page can contain expressions and the maximum number of expressions allowed is 1000.

Synopsis

import responder htmlpage [] [-comment ] [-overwrite] [-CAcertFile ]

Arguments

src Local path to and name of, or URL (protocol, host, path, and file name) for, the file in which to store the imported HTML page. NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access.

name Name to assign to the HTML page object on the Citrix ADC.

comment Any comments to preserve information about the HTML page object.

overwrite Overwrites the existing file

CAcertFile CA certificate file name which will be used to verify the peer’s certificate. The certificate should be imported using “import ssl certfile” CLI command or equivalent in API or GUI. If certificate name is not configured, then default root CA certificates are used for peer’s certificate verification.

Example

import responder htmlpage http://www.example.com/page.html my-responder-page

responder-htmlpage