IntrFilt V1.05 includes support for "Virtual Hosts". A Vitual Host exists where more than one hostname is addressed to a single IP number. It is currently difficult for the server to determine which hostname the client used to make the request, however HTTP V1.1 includes a Host: header that provides the actual hostname used by the client.
Netscape (V2 and above?) implements this header, and this filter extracts the host name value. this allows the filter to provide the following additional services:
Virtual Host is implemented using the VHost section of the globals file.
Each entry consists of hostname,path, terminated by a semi-colon ";". The hostname is the full name of the host that is aliased to the server. The path is the fragment to be attached to the start f the URL to access the home page for this host. The VHost translation is performed BEFORE aliasing.
VHost_opal:
opal.interdart.co.uk,;
http.interdart.co.uk,http;
:EndVHost_opal
The above example will redirect a URL of http://http.interdart.co.uk/ to http://http.interdart.co.uk/http/index.htm.
All requests with either no host header, or with opal.interdart.co.uk would have no changes made.
This feature has not been fully explored, some extensions to behavious are likely to be made.