IntrFilt - HTML Level Switching


This feature allows you to set up pages in HTML 1,2 and 3 (and Netscape etc.) formats, and the server will automatically detect the Clients browser type, and return the correct page.

Unfortunatley, the filter does NOT convert the HTML for you! If the filter can not find the alternative page of HTML then it will return the "normal" page in the same way if no HTML switching were defined.

If the Clients reported "User-Agent" is not recognised, then the normal page is returned.

The alternative pages can be stored in one of three formats of path:

The type of switching is controlled through the Globals file , in section HTMLSwitch_localhost:. There are four valid settings, "LongName", "Suffix", "StartPath" and "EndPath". If the value is not recognised, then no switching is done.

The User-Agent recognition is controlled through the Globals file in the section AgentList: The format of each User Agent entry is:

User_Agent_Name:VersionList;

Where User_Agent_Name is the name reported to the server, up to but excludding the first '/' and the version list is in the following format:

version_number#level_name/

Where version_number is the part of the reported User-Agent name following the first '/' and up to the next space. Level_name is the directory path or file suffix substitution value that the filter will use in the alternate file path.

NOTE: version numbers MUST be in descending alphanumeris order!

The VersionList may be abbreviated to the lowest version that supports the given level, for example:

Mozilla:2#3A/1#3/0#2/;

will switch Mozilla version 2.xx or greater to level 3A, 1.xx to level 3 and 0.xx to level 2. This allowsa considerable reduction in the size of the list. Also, if your standard default HTML is equivalent to version 3A, then specify '*' as the level to prevent directory or file switching at that level:

Mozilla:2#*/1#3/0#2/;

Long File Names

The filter will insert the level_name between the file and suffix, giving a file name of, for example index.3A.html.

This method requires support for long file names (HPFS).

File Suffix

The filter will replace the suffix of the requested file with the level_name, giving a file name of, for example index.3A. This method will work on FAT system provided the level is three or less characters.

Directory at Start of Path

The filter will insert the level_name as an additional directory at the start of the path. An original path of C:/WEB/HOME/subdir/Index.html would become C:/3A/WEB/HOME/subdir/Index.html. This is how it works now, it will possibly be changed to insert the level name after the Home directory part of the path, e.g. to C:/WEB/HOME/3A/subdir/index.html.

Directory at End of Path

The filter will insert the level_name as an additional directory at the end of the path. An original path of C:/WEB/HOME/subdir/Index.html would become C:/WEB/HOME/subdir/3A/Index.html.

Security and Authorisation

Please note, the directory substitution is made BEFORE authorisation checking, so the first two options are probably the most easily implemented along with authoristaion.


|- Redirection -|- Hosts -|- Authorisation -|- Click Maps -|- Business Objects -|- Archiving -|- Globals -|- HTML Level Switching -|- cgi Processing -|

Designed by and Copyright 1996 Derek Sims