tadm create-error-page common_options --config=config_name --vs=vs_name --code=error_code --error-page=error_page
Use this command to create an error page.
For information about common_options
, run the help command.
--config|-c
Specify the name of the configuration for which you want to create an error page.
--vs|-v
Specify the name of the virtual server.
--code|-d
Specify the error code for which you want to create an error page. Range is between 400 to 599
--error-page|-g
Specify the absolute path for which you want to create an error page.
tadm create-error-page --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt --no-enabled=true --config=www.example.org --vs=soa.example.org --code=408 --error-page=/documents/otd
The following exit values are returned:
0: command executed successfully
>0: error in executing the command
For more information about exit codes and syntax notations, run the help command.