iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-002
A-19
Description
-symlink-disable
This option disables symbolic links to files in the specified directory. As a result, the
iTP Secure WebServer returns a message indicating that the file was not found in
response to any attempt to access a path that contains a symbolic link.
-symlink-owner
This option is similar in function to the -symlink-disable option: it disables
symbolic links, but only if these symbolic links are owned by someone other than
the owner of the files to which the symbolic links point.
For example, consider the Filemap directive
Filemap /admin /usr/tandem/webserver/root
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.