Customizing User Public Information Directories (Unix/Linux)
358
Netscape Enterprise Server Administrator’s Guide • November 2001
Customizing User Public Information Directories
(Unix/Linux)
Sometimes users want to maintain their own web pages. You can configure public
information directories that let all the users on a server create home pages and
other documents without your intervention.
You can only set these up for the entire class. There’s no way to customize them on
a per virtual server basis.
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.example.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, follow these steps:
1.
From the Class Manager, click the Content Management tab.
2.
Click User Document Directories.
3.
Choose a user URL prefix.
The usual prefix is
~
because the tilde character is the standard Unix/Linux
prefix for accessing a user’s home directory.
4.
Choose the subdirectory in the user’s home directory where the server looks
for HTML files.
A typical directory is
public_html
.
5.
Designate the password file.
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 user names 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:*
Summary of Contents for NETSCAPE ENTREPRISE SERVER 6.0 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 18: ...18 Netscape Enterprise Server Administrator s Guide November 2001...
Page 26: ...26 Netscape Enterprise Server Administrator s Guide November 2001...
Page 48: ...Migrating a Server 48 Netscape Enterprise Server Administrator s Guide November 2001...
Page 50: ...50 Netscape Enterprise Server Administrator s Guide November 2001...
Page 146: ...146 Netscape Enterprise Server Administrator s Guide November 2001...
Page 242: ...242 Netscape Enterprise Server Administrator s Guide November 2001...
Page 294: ...294 Netscape Enterprise Server Administrator s Guide November 2001...
Page 332: ...Deleting a Virtual Server 332 Netscape Enterprise Server Administrator s Guide November 2001...
Page 378: ...378 Netscape Enterprise Server Administrator s Guide November 2001...
Page 396: ...Responses 396 Netscape Enterprise Server Administrator s Guide November 2001...
Page 414: ...Posting to JSPs 414 Netscape Enterprise Server Administrator s Guide November 2001...
Page 432: ...Further Information 432 Netscape Enterprise Server Administrator s Guide November 2001...
Page 444: ...444 Netscape Enterprise Server Administrator s Guide November 2001...