Sun Java System Web Server 7.0 Update 2 CLI Reference Manual
只搜寻这本书
以 PDF 格式下载本书 (2046 KB)

get-virtual-server-prop(1)

NAME | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also

NAME

    get-virtual-server-prop – gets the virtual server properties

Synopsis

    get-virtual-server-prop <connect_options> [--echo|-e] [--no-prompt|-Q] 
    [--verbose|-v] --config|-c name --vs|-s name (propertyname)*
    

Description

    Use this command to view the properties of a virtual server. The properties that you can view are as follows:

    • object-file - The obj.conf file that controls the request handling process for the virtual server.

    • canonical-server-name - The canonical host name of the virtual server. Requests using a different host name will be redirected to this host name.

    • enabled - Indicates whether the virtual server is enabled at runtime.

    • host - The hostname the virtual server services.

    • default-object-name - The name of the root obj.conf object.

    • name - The name that uniquely identifies the virtual server.

    • document-root - The document root for the virtual server.

    • mime-file - The mime.types file that configures MIME mappings for the virtual server.

    • log-file - The log file for the virtual server.

    • http-listener-name - The name of an HTTP listener associated with one or more of the virtual server's hostnames.

    • acl-file - The Access Control List (ACL) file that controls access to the virtual server.

Options

    For connect_options description, see help(1).

    --echo|-e

    Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.

    --no-prompt|-Q

    If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.

    --verbose|-v

    Specify this option to display a verbose output.

    --config|-c

    Specify the name of the configuration on which the virtual server exists.

    --vs|-s

    Specify the name of the virtual server.

Operands

    propertyname

    Specify the name of the virtual server property that you want to view.

Examples


    wadm get-virtual-server-prop --user=admin
    --password-file=../admin.passwd --host=serverhost --port=8989 --ssl=true
    --no-prompt --rcfile=null --config=config1 --vs=vs
    

Exit Status

    The following exit values are returned:

    0

    command executed successfully

    >0

    error in executing the command

See Also

SJS Web Server Last Revised March 2007

NAME | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also