NFS Administration 6-13
Requests are restricted as follows:
Requests are honored only for files in subtrees that have been exported.
If a subtree has been exported with the -o access option, files in that subtree
are not available through WebNFS.
6HWWLQJ8S:HE1)6

3URFHGXUHIRU6HWWLQJ8S:HE1)6

To set up WebNFS, perform the following steps:
1. Enter the following command to turn on WebNFS:
options nfs.webnfs.enable on
2. If you...
Want to specify a public directory, known as the root directory, for WebNFS
access
Then...
Enter the following commands, replacing directory with the path to the root
directory:
options nfs.webnfs.rootdir

directory

options nfs.webnfs.rootdir.set TRUE
Results: All NFS lookups are done relative to the root directory. All WebNFS cli-
ents can access files and directories under the root directory.
Do not want to specify a public directory for WebNFS access
Do nothing.

([DPSOHRI6SHFLI\LQJ:HE1)65RRW'LUHFWRU\

To use the /vol/vol0/webfiles directory as the WebNFS root directory, you enter the
following commands:
options nfs.webnfs.rootdir /vol/vol0/webfiles
options nfs.webnfs.rootdir.set TRUE