Show TOC Start of Content Area

Procedure documentation Defining HTTP Aliases on a Virtual Host  Locate the document in its SAP Library structure

Use

You can use this procedure to set various HTTP aliases to directories with static web pages on the local file system.

Defining Aliases Using Visual Administrator

Use Visual Administrator tool to manage aliases on a virtual host. Open the Runtime screen of HTTP Service running on server. Next:

...

       1.      Choose the virtual host, for which you want to define alias, from the list

       2.      Choose Alias tab

       3.      Enter the name of the alias and the corresponding path to a directory on the local file system

       4.      Choose Add

The name of the alias and the directory path it points to must appear in a list on the screen. Make sure you choose Save Properties to permanently save your changes.

To remove an existing alias, select the alias name from the list of aliases and choose Remove.

Defining Aliases Using Telnet

You can use the HTTP_ALIAS command from the HTTP shell command group to define new and remove existing aliases with Telnet.

To define new alias enter the following on the command line in the server console:

...

       1.      Enter the name of the command (HTTP_ALIAS)

       2.      Specify the host, for which the alias is defined, using the –host parameter of the command

       3.      Enter the name of the alias

       4.      Enter the corresponding path

       5.      Press Enter

This graphic is explained in the accompanying text 

http_alias –host myhost myalias c:\somedir. This command defines an HTTP alias with name myalias that points to c:\somedir directory, on myhost host.

To remove an existing alias, use the command with the –remove option. For more information, see HTTP shell group.

 

 

End of Content Area