Contents

Introduction                     13

What's in this book?
Conventions used in this book
Computer system requirements

Chapter 1  Welcome to the Internet

Web basics
Understanding URLs
Understanding web servers
The Netscape Enterprise Server

Chapter 2  Installing the server

Before you begin installation
Make sure DNS is running
Create an alias for the server
Create a user account for the server
Choose unique port numbers
Upgrading an existing server
Installation instructions
Running ns-setup
Configuring your new server
What the installation process does
Troubleshooting installation

Chapter 3  Configuring and managing your server

Using the Server Selector
Accessing the Server Selector
Remotely accessing the Server Selector
Shutting down the administration server
Installing multiple web servers
Removing a server from your system
Configuring your administration server
Starting and stopping a web server
Using the Server Manager

Chapter 4  Managing server content

Setting the primary document directory
Setting additional document directories
Customizing user public information directories
Configuring document preferences
Forwarding URLs
Setting up software virtual servers
Assigning a character set
Specifying a document footer
Customizing parsed HTML
Using cache control directives
Using version control
Enabling version control
Checking out documents
Retrieving documents
Checking in documents
Unlocking a document without checking it in
Retrieving a list of versions of a document
Working with configuration styles
Creating a configuration style
Editing a configuration style
Removing a configuration style
Applying configuration styles
Listing configuration style assignments

Chapter 5  Configuring system settings

Starting and stopping the server
Restarting with inittab
Restarting with the system RC scripts
Restarting the server manually
Soft-restart
Stopping the server manually
Viewing server settings
Restoring backup configuration files
Tuning server performance
Server processes
Setting the number of server threads
Configuring listen-queue size
Enabling Domain Name System lookups
Configuring MIME types
Configuring network settings
Changing the server's location
Changing the server's user account (Windows NT only)
Changing the server name
Changing the server port number
Changing the server binding address
Changing the server's MTA host
Changing the server's NNTP host
Customizing error responses
What are the errors?
Setting up the response
Working with dynamic configuration files
Writing a dynamic configuration file
Changing the root directory
Restricting symbolic links

Chapter 6  Controlling access to your server

Certificate mappings
Upgrading from a 2.0 server
Converting a 2.0 user database
Converting a 2.0 ACL file
Managing 2.0 user databases
Controlling access with client certificates
Restricting access
Denying access to a resource
Allowing access to a resource
Importing users

Chapter 7  Encryption and SSL

Internet security threats
Internet security precautions
Encryption
Public-key encryption
Signing files
How does encryption work?
How secure is encryption?
Authentication and certificates
Chaining certificates
What's in a certificate file?
Choosing Certification Authorities
Putting all the pieces together: SSL
Increasing server security
Limit physical access
Limit administration access
Choose good passwords
Secure your private key
Limit other applications on the server
Limit ports
Know your server's limits
Enabling SSL on your server
Generating a key pair
Changing your key pair file password
Requesting a certificate
What information does a CA need?
Installing the certificate
Managing server certificates
Activating SSL
Setting security preferences
Specifying stronger encryption strength
Keeping clients from caching SSL files
Effects of an SSL-enabled server
Secure URL construction
Secure server document root
Unprotected server document directory
Changes to the magnus.conf file
Security
SSL2
SSL3
ServerKey
ServerCert
Ciphers
SSL3Ciphers
SSLClientAuth
Further reading

Chapter 8  Using programs with your server

Installing server-side programs
Installing server-side Java applets
Installing CGI programs
Specifying a CGI directory
Specifying CGI as a file type
Using the query handler
Using the Application Manager
Securing the Application Manager
Installing JavaScript applications
Application URLs
Initial and default pages
Controlling access to an application
Modifying installation parameters
Removing an application
Starting, stopping, and restarting an application
Running and debugging an application
Configuring default settings
Manually editing application information
Sample applications
Installing client-side programs
Installing client-side Java
Installing client-side JavaScript

Chapter 9  Monitoring the server

Monitoring the server using HTTP
Server usage
Activity breakdown
Server totals
Viewing the event log (Windows 95 only)
Working with log files
Viewing the error log file
Setting log preferences
Viewing an access log file
Working with the log analyzer
Running the log analyzer from the Server Manager
Running the log analyzer from the command line
Archiving log files
Monitoring the server using SNMP
The Netscape MIB
Installing Netscape SNMP agents
Installing the SNMP master agent
Installing the proxy SNMP agent and restarting the native SNMP daemon
Enabling the subagent
Stopping and starting the administration server
Installing subagents on AIX
Configuring trap destinations
Configuring the community string

Chapter 10  Configuring web publishing and agents

Configuring web publishing
Turning Web Publisher on and off
Setting up version control
Unlocking files
Adding properties
Managing properties
Configuring agents
Agent events
Timer agents
Document agents
Agent actions
Creating authorized users
Enabling agent services

Chapter 11  Creating a text search interface

Designing a text search interface
Determining search requirements
Designing the text search interface
Designing each part of the interface
Before you start
Mapping your index directory to an URL
Deciding which words not to search
Modifying your configuration files
Using collections
Creating a new collection
Managing an existing collection
Using pattern variables
User-defined pattern variables
Reserved pattern variables
Valid search arguments
Valid generated pattern variables
Using pattern files
Defining pattern file locations
Configuring the search parameters
Creating the text search pages
Creating a search query page
The underlying pattern files
Special search query features
Specifying multiple collections
Specifying alternate query pattern files
Specifying compound queries
Creating a search results page
The search query parameters
Creating the document display page
The document display page parameters

Chapter 12  Cataloging your web site

What can a catalog do for my web site?
How do users access my catalog?
How does the catalog feature work?
Enumerating the URLs
Generating a resource description
Generating HTML catalog files
Setting up the catalog agent
Using the AutoCatalog feature
Configuring the catalog agent
Scheduling the catalog agent
Manually controlling the catalog agent
Getting a status report for the catalog agent
Catalog configuration files
The filter.conf file
The process.conf file
An example process.conf file
The robots.txt file
Format for robots.txt
Example robot.txt files

Appendix A  Hypertext Transfer Protocol

Requests
Request method
Request header
Request data
Responses
Status code
Response header
Response data

Glossary                     217

Index                     223