Entering content frame

Background documentation HTTP Locate the document in its SAP Library structure

This section contains the commands used for managing the SAP J2EE Engine HTTP Provider Service running on servers. They are added to the shell environment by executing ADD HTTP in the command line.

APPLICATION_ALIAS

Syntax

APPLICATION_ALIAS [-host hostName] <aliasName> [-disable | -enable]

Arguments

 

[-host hostName]

The virtual host name. If it is not specified, the default host is displayed.

<aliasName>

The name of an alias on the virtual host.

If only <aliasName> is specified, the command returns if the alias is available on the virtual host.

-disable | -enable

Disables or enables an alias on the specified host.

Description

Used without parameters the command lists all application aliases available on the virtual host.

 

CLEAR_HTTP_CACHE

Syntax

CLEAR_HTTP_CACHE

Description

Removes all files stored in the cache by the HTTP Provider Service. If your system has an ICM set up, this command clears the ICM cache too.

If a file has been modified, the cache returns the previous content and not the modified one. For the modification to take effect, the cache must be cleared first and then it will cache the new content.

 

HOST

Syntax

HOST <hostName> [-add] [-remove] [-root httpRootPath] [-startPage startPagePath] [-enable|-disable log] [-enable|-disable cache] [-enable|-disable dirList] [-enable|-disable keepAlive]

Arguments

 

<hostName>

The virtual host name.

If only <hostName> is specified, the command lists all properties of the host.

[-add]

Adds a new virtual host.

[-remove]

Removes a specified virtual host.

[-root httpRootPath]

Sets the specified path as an http root.

[-startPage startPagePath]

Sets the specified path as an http Start Page.

[-enable|-disable log]

Enables or disables logging option on specified host.

[-enable|-disable cache]

Enables or disables caching option.

[-enable|-disable dirList]

Enables or disables directory listing on specified host.

[-enable|-disable keepAlive]

Enables or disables keep-alive connections on the specified host.

Description

Used without parameters, the command lists all virtual hosts with their properties.

Each parameter except <hostName> forces this host cache cleaning (even when the parameter is not recognized).

 

HTTP_ALIAS

Syntax

HTTP_ALIAS [-host hostName] <alias> [path] [-remove]

Arguments

 

[-host hostName]

The virtual host name. If it is not specified, the default host is displayed.

<alias>

The http alias name. If only <alias> is specified, the command returns the alias path.

[path]

The http alias path.

[-remove]

Removes the specified http alias.

Description

Used without parameters, the command lists all http aliases on the virtual host with their paths.

 

 

Leaving content frame