Customizing User Public Information Directories (Unix)
314
Netscape Enterprise Server Administrator’s Guide
With this system, clients can access your server with a certain URL that the
server recognizes as a public information directory. For example, suppose you
choose the prefix
~
and the directory
public_html
. If a request comes in for
http://www.netscape.com/~jdoe/aboutjane.html
, the server
recognizes that
~jdoe
refers to a users’ public information directory. It looks
up
jdoe
in the system’s user database and finds Jane’s home directory. The
server then looks at
~/jdoe/public_html/aboutjane.html
.
To configure your server to use public directories, you need to choose a user
URL prefix. The usual prefix is
~
because the tilde character is the standard
Unix prefix for accessing a user’s home directory. Next, you need to choose the
subdirectory in the user’s home directory where the server looks for HTML files.
A typical directory is
public_html
.
The server needs to know where to look for a file that lists users on your
system. The server uses this file to determine valid usernames and to find their
home directories. If you use the system password file for this purpose, the
server uses standard library calls to look up users. Alternatively, you can create
another user file to look up users. You can specify that user file with an
absolute path.
Each line in the file should have this structure (the elements in the
/etc/
passwd
file that aren’t needed are indicated with
*
):
username:*:*:groupid:*:homedir:*
You also have the option of loading the entire password file on startup. If you
choose this option, the server loads the password file into memory when it
starts, making user lookups much faster. If you have a very large password file,
however, this option can use too much memory.
Finally, you can apply a configuration style for the server to control access to
directories from public information directories. This prevents users from
creating symbolic links to information you do not want made public.
To set up user directories, use the User Document Directories page in the
Server Manager.
Summary of Contents for Netscape Enterprise Server
Page 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Page 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Page 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Page 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Page 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Page 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Page 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Page 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Page 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Page 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Page 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Page 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Page 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Page 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Page 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Page 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Page 504: ...504 Netscape Enterprise Server Administrator s Guide ...