Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

ProcedureTo Configure Virtual Multihosting

  1. Access the Server Manager and click the URLs tab.

  2. Click the Configure Virtual Multihosting link.

    The Configure Virtual Multihosting page is displayed.

  3. In the Source Hostname (alias) field, specify the local host name (or DNS alias) that this mapping should apply to.

  4. In the Source Domain Name field, type the local domain name that this mapping should apply to.

    Typically, this name is your own network’s domain name, unless you want to multi host multiple different DNS domains.

  5. In the Destination URL Prefix field, type the target URL prefix where the request will be directed if the host and domain names match the above specifications.

  6. If you are using templates, choose the template name from the Use This Template drop-down list, or leave the value at NONE if you do not want to apply a template.

  7. Click OK.

  8. Click Restart Required.

    The Apply Changes page is displayed.

  9. Click the Restart Proxy Server button to apply the changes.

    Repeat the above steps for each virtual multihosting mapping you want to establish.

    All virtual multihosting mappings appear on the bottom of the Configure Virtual Multihosting page. The Source Hostname (alias) and Source Domain Name fields are merged, together with the proxy’s port number, into a single regular expression that is used to match the “Host:” header.

    For example, if you have host name www, domain example.com, and port number 8080, the following regular expression will appear:

    www(|.example.com)(|:8080)

    This regular expression guarantees a match with all of the following possible combinations that the user might have typed, or the client might have sent. The port number might be omitted by some client software even when it is non-80, as the server was listening on that port.

    • www

    • www:8080

    • www.example.com

    • www.example.com:8080