iTP Secure WebServer System Administrator's Guide (Version 7.0)

Configuration Directives
iTP Secure WebServer System Administrator’s Guide523346-012
A-22
Default
Any URL having a component beginning with /admin is converted into a reference to
a file in directory /usr/tandem/webserver/root. For example, the URL
http://my.server.com/admin/welcome.html
maps to the file /usr/tandem/webserver/root/welcome.html.
You can enter more than one Filemap directive in the configuration file, with each
directive specifying a different prefix. Using this feature, you can partition major areas
of server content across different directories or disks. For example, given the directives
Filemap /encyclopedia /usr/disk0
Filemap /dictionary /usr/disk7
Filemap /accounts /G/data/accounts
the URL
http://my.server.com/encyclopedia/info/doc.html
refers to the file /usr/disk0/info/doc.html.
while the URL
http://my.server.com/dictionary/entry/aardvark.html
refers to the file /usr/disk7/entry/aardvark.html.
More than one Filemap directive is allowed in the configuration file. If two Filemap
directives have overlapping prefixes, the prefix that has the most characters matching
the URL path will be used to translate the file. For example, consider the overlapping
Filemap directives
Filemap /personal /usr/disk/personal
Filemap /personal/payne /udir/payne
In this case, the URL
http://my.server.com/personal/info.html
refers to the file /usr/disk/personal/info.html.
Conversely, the URL
http://my.server.com/personal/payne/info.html
refers to the file /udir/payne/info.html.
The Filemap command in the Region directive is equivalent to the Filemap directive,
except for the following differences:
The Filemap command in the Region directive only applies within a region
The Filemap command in the Region directive overrides any Filemap directive
that has the same prefix
Default
None