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 Start of the navigation path Control Panel Next navigation step Administrative Tools Next navigation step Computer Management Next navigation step Services and Application Next navigation step Internet Information Services End of the navigation path

    • Windows Server 2003: Navigate to Start of the navigation path Control Panel Next navigation step Administrative Tools Next navigation step Computer Management Next navigation step Services and Application Next navigation step Internet Information Services (IIS) Manager End of the navigation path.

  2. Use the secondary mouse button to click on the TREX Web site (Windows 2003) or the computer icon (Windows 2000), and choose Start of the navigation path New Next navigation step Web Site End of the navigation path.

  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

    Entry

    Description

    SAP_TREX_<instance_number>, for example SAP_TREX_48

    TCP Port

    <free_port>

    Recommendation

    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.

    Example

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

    Path

    <disk_drive>:\usr\sap\trex_<instance_number>

    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 Start of the navigation path New Next navigation step Virtual Directory End of the navigation path.

  5. A wizard that helps you with the creation process is started. Enter the following data:

    Field

    Entry

    Alias

    TREXHTTPServer_<instance_number>

    Path

    <disk_drive>:\usr\sap\trex_<instance_number>

    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.