iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-73
UserDir
-symlink-disable
This option disables symbolic links to files in the specified directory. As a result, the
iTP Secure WebServer returns “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 also
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.
This directive also has a corresponding Region command, which if found within a
region, overrides this directive. For further information about using the UserDir
command in a Region directive, see Region Commands
on page A-41.
For example, if UserDir is set to hypertext, and a web client accesses the URL
/~black/home.html
the iTP Secure WebServer maps this request to the file hypertext/home.html in
Black’s home directory. Assuming Black’s home directory on the host UNIX machine is
/udir/black, the iTP Secure WebServer accesses the file
/udir/black/hypertext/home.html
Similarly, if the web client accesses the URL
/~white/home.html
and White’s home directory on the same host UNIX machine is /udir/white, the
iTP Secure WebServeriTP Secure WebServer accesses the file
/udir/white/hypertext/home.html
Only one UserDir directive is allowed in the configuration file.
Default
None. If UserDir is not set, any attempt to access URLs beginning with a tilde (~) is
denied.
Example
UserDir public_html