Show TOC

Creating a Web Site Manually (Only Windows)Locate this document in the navigation structure

Use

This section is only relevant if an application communicates with TREX using HTTP.

The TREX setup program normally creates the Web site SAP_TREX_<instance_number> on the Web server. If an error occurred during this process, you have to create the Web site manually.

Procedure

  1. Open the Internet Information Services (Microsoft IIS 5.0) or the Internet Information Services (IIS) Manager (Microsoft IIS 6.0).
    • Windows 2000: Navigate to Control Panel → Administrative Tools → Computer Management → Services and Application → Internet Information Services
    • Windows Server 2003: Navigate to Control Panel → Administrative Tools → Computer Management → Services and Application → Internet Information Services (IIS) Manager.
  2. Use the secondary mouse button to click on the TREX Web site (Windows 2003) or the computer icon (Windows 2000), and choose New → Web Site.
  3. A wizard that helps you with the creation process is started. Enter the information from the table below, and adopt the default settings for all other fields.
    Field Input

    Description

    SAP_TREX_<instance_number>, for example SAP_TREX_48

    TCP Port

    <free_port>

    Note

    We recommend that you calculate the port as follows:

    30000 + 100 * <instance_number>+ 5

    SAPinst calculates the ports of the TREX servers using this method. The method ensures that the ports do not clash with another TREX instance on the same host.

    Tip

    If the instance number is 48, the port is 34805.

    Path

    <disk_drive>:\usr\sap\<SAPSID>\TRX<instance_number>\exe

    Permissions (Read, Run scripts, and so on)

    None. Make sure that no field is checked.

  4. When you have created the Web site, you have to create a virtual directory. Use the secondary mouse button to click on the Web site SAP_TREX_<instance_number>, and choose New → Virtual Directory.
  5. A wizard that helps you with the creation process is started. Enter the following information:
    Field Input

    Alias

    TREXHTTPServer_<instance_number>

    Path

    <disk_drive>:\usr\sap\<SAPSID>\TRX<instance_number>\exe

    Permissions (Read, Run scripts, and so on)

    Select Execute (such as ISAPI applications or CGI). Remove the selection for the other permissions.

  6. Display the properties of the virtual directory TREXHTTPServer_<instance_number>. Choose the Virtual Directory tab, and remove the selection for Log visits and Index this resource.
  7. Display the properties of the Web site SAP_TREX_<instance_number>. Choose the Web Site tab, and remove the selection for the Enable Logging field.