Documentation Home
> Sun Java System Web Server 7.0 Update 7 Administrator's Guide
Sun Java System Web Server 7.0 Update 7 Administrator's Guide
Book Information
Index
A
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Preface
Chapter 1 Getting Started
Introduction
What is New?
Starting the Administration Server
Starting the Administration Server in Unix/Linux
Starting the Administration Server in Unix/Linux
Starting the Administration Server in Windows
Different Ways of Administering Your Server
Using Administration Console
Help on Administration Console GUI Screens
Using CLI
Modes of CLI
Where Can I Find wadm CLI?
Authentication in CLI
Resetting the Administration Password
Registering with Sun Connection
CLI Scripts
Understanding Web Server 7.0
Chapter 2 Configuration, Instances, and Nodes
Overview
Managing Configurations
Creating a Configuration
Step 1 – Set Configuration Information
Step 2 — Create a Listener for the Configuration
Step 3 — Configure Java, CGI and SHTML
Restore Configuration
To Restore the Configuration
Step 4 — Create an Instance
Duplicating a Server Configuration
Deploying the Server Configuration
Deleting the Server Configuration
Pulling Configuration Changes to the Administration Server
Removing the Administration Node from the Server
To Remove the Administration Node from the Server
Managing Server Instances
Creating a Server Instance
Starting Server Instances
Stopping Server Instances
Restarting Server Instances
Re-Configuring Server Instances
Deleting Server Instances
Automatically Configuring Instances
To Add a Scheduled Event
To Remove a Scheduled Event
Configuring LDAP Authentication for Administration Server
To Configure LDAP Authentication
Chapter 3 Server Farms and Clusters
Cluster Support in Web Server
Setting Up a Server Farm
To Set Up a Server Farm
Setting Up a Simple Cluster
To Configure the Cluster
Chapter 4 Deployment Scenarios
Deployment Architecture
Deployment Overview
Pre-Deployment Requirements
Deploying Web Server
Cluster Environment
Hardware and Software Requirements
Setting Up a Cluster
Configuring Reverse Proxy in Web Server 7.0
Configuring Reverse Proxy for Load-balancing
Configuring Reverse Proxy Using Administration Console
Configuring Reverse Proxy Using CLI
Modifying Reverse Proxy Parameters
To Modify Reverse Proxy Parameters
Configuring Timeout Parameter in Reverse Proxy
Customizing Reverse Proxy
Session Replication
Session Replication and Failover Operation
Enabling Session Replication
Configuring a Web Application for Session Replication
Monitoring a Cluster
Solaris Zones
Chapter 5 Using Virtual Servers
Overview of Virtual Servers
Use Cases
Default Configuration
Secure Server
Intranet Hosting
Mass Hosting
Managing Virtual Servers
Adding a Virtual Server
To Add a Virtual Server
Configuring a Virtual Server
To Configure a Virtual Server
Duplicating a Virtual Server
To Duplicate a Virtual Server
Configuring HTTP Listeners
Creating a HTTP Listener
Configuring Your HTTP Listener
Modifying HTTP Listener Parameters
Chapter 6 Certificates and Keys
Using Certificates for Authentication
Server Authentication
Client Authentication
Certificate Chain
Installing a Certificate Chain
Step 1: Select Tokens and Passwords
Step 2: Enter Certificate Data
Step 3: Certificate Type
Step 4: Review
Step 5: Results
Certificate Key Types
Creating a Self-Signed Certificate
Importing Self-signed Certificate to IE Browser
Managing Certificates
Requesting a Certificate
To Request a Certificate
Configuring Solaris Cryptographic Framework
To Configure Solaris Cryptographic
To Register PKCS#11 Library File
To Enable and Bypass PKCS#11 Tokens
Creating a Self-Signed Certificate Using CLI and Enabling SSL
Installing a Certificate
To Install a Certificate
Requesting and Installing External Certificates
Renewing a Certificate
To Renew a Certificate
Deleting a Certificate
To Delete a Certificate
Renewing Administration Server Certificates
Managing Certificate Revocation Lists (CRL)
To Install a CRL
To Delete a CRL
Setting Password for the Internal Token
To Set the Token Password
Configuring SSL for the Server
Enabling SSL Ciphers for a Configuration
Enabling Security For HTTP Listener
Chapter 7 Controlling Access to Your Server
What is Access Control
How Access Control Works
Setting Up Access Control for User-Group
Default Authentication
Basic Authentication
SSL Authentication
Digest Authentication
Setting Access Control for the Host-IP
Configuring the ACL User Cache
Setting ACL Cache Properties
Configuring Access Control
Adding an Access Control List (ACL)
Adding an Access Control Entry (ACE)
Using .htaccess File
Preventing Denial-of-Service Attack
Limiting Requests to the Server
To Limit the Maximum Number of Connections
Preventing Cross Site Scripting Attacks
Chapter 8 Managing Users and Groups
Accessing Information About Users and Groups
About Directory Services
Types of Directory Services
Understanding Distinguished Names (DNs)
Using LDIF
Working With the Authentication Database
Creating an Authentication Database
Setting Up Users and Groups
To Add a User
To Add a Group
To Delete a User
To Delete a Group
Static and Dynamic Groups
Static Groups
Guidelines for Creating Static Groups
Dynamic Groups
How Web Server Implements Dynamic Groups
Groups Can Be Static and Dynamic
Dynamic Group Impact on Server Performance
Guidelines for Creating Dynamic Groups
Chapter 9 Managing Server Content
Configuring Document Directories
To Create a Document Directory
Changing the Default MIME Type
To Change the Default MIME Type
Enabling Directory Listing
Customizing User Public Information Directories (UNIX/Linux)
Configuring Document Directories
Restricting Content Publication
Loading the Entire Password File on Startup
Setting Up URL Redirection
URL Redirection Using Regular Expression
What is Not Supported
Overview of CGI
Configuring CGI Subsystem for Your Server
Downloading Executable Files
Installing Shell CGI Programs for Windows
Overview of Shell CGI Programs for Windows
Customizing Error Responses
Changing the Character Set
Changing Character Set
Setting the Document Footer
To Set the Document Footer
Restricting Symbolic Links (UNIX/Linux)
To Restrict Symbolic Links
Setting up Server-Parsed HTML
To Set Server Parsed HTML
Setting Cache Control Directives
To Set Cache Control Directives
Configuring the Server for Content Compression
Configuring the Server to Serve Pre-Compressed Content
To Change Pre-compressed Content Settings
Configuring the Server to Compress Content on Demand
To Compress Content on Demand
Setting Up P3P
Configuring Virtual Server's P3P Settings
Chapter 10 Web Publishing With WebDAV
About WebDAV
Common WebDAV Terminology
Enable WebDAV at Instance Level
Managing WebDAV Collections
Enabling WebDAV Collection
Disabling WebDAV Collection
Adding a WebDAV Collection
Listing WebDAV Collections
Removing WebDAV Collection
Configuring WebDAV Properties
Setting WebDAV Properties
Viewing WebDAV Properties
Setting WebDAV Collection Properties
Viewing WebDAV Collection Properties
Modifying WebDAV Parameters
Disabling WebDAV at Server Level
Managing WebDAV Authentication Databases
Using Source URI and Translate:f Header on a WebDAV-Enabled Server
Locking and Unlocking Resources
Exclusive Locks
Shared Locks
Minimum Lock Timeout
Chapter 11 Working With Java and Web Applications
Configure Java to Work With Sun Java System Web Server
Enabling Java for Your Configuration
Setting Up Java Class Path
To Set Up Java Class Path
Configuring Your JVM
To Configure Your JVM
Adding a JVM Option
Adding JVM Profilers
To Add a JVM Profiler
Enabling Java Debugging for Your Server
Enable JVM Debugging
Deploying Java Web Applications
Adding a Web Application
To deploy a web application
Deploying a Web Application Directory
Pre-compiling JSPs During Deployment
Configuring Your Servlet Container
To Set Up Servlet Container
Servlet Container Global Parameters
Configuring Server Lifecycle Modules
Introduction to Server Lifecycle
To Add a Lifecycle Module
To Delete a Lifecycle Module
Integrating Service Management Facility for the Java Platform with Web Server
Managing Service Management Facility on Web Server Instances
Service Manifest for Web Server
Service Log
Configuring Java Resources
Configuring JDBC Resources
Adding a JDBC Resource
JDBC Drivers Known to Work With the Sun Java System Web Server
Managing JDBC Resources
Adding a new JDBC Resource
Managing JDBC Connection Pools
Configuring JDBC Connection Pool
To Create a JDBC Connection Pool
Registering Custom Resources
To Add a Custom Resource
Properties for Custom Resources
Working With External JNDI Resources
Creating External JNDI Resources
To Add an External JNDI Resource
Properties for External JNDI Resources
Configuring Mail Resources
To Add a Mail Resource
Properties for Mail Resource
Configuring SOAP Authentication Providers
To Add a SOAP Authentication Provider
SOAP Authentication Provider Parameters
Configuring Session Replication
Setting Up Session Replication
To Set Up Session Replication
Modifying Session Replication Parameters
Managing Authentication Realms
To Add a Authentication Realm
Chapter 12 Working With Search Collections
About Search
Configuring Search Properties
Configuring Search Collections
Supported Formats
Unsupported Formats
Adding a Search Collection
Deleting a Search Collection
Scheduling Collection Update
Performing a Search
The Search Page
Making a Query
Making a Query
Advanced Search
To Make an Advanced Search Query
Document Field
Search Query Operators
Viewing Search Results
Customizing Search Pages
Search Interface Components
Header
Footer
Form
Results
Customizing the Search Query Page
In a horizontal bar
In a Sidebar Block
Customizing the Search Results Page
Customizing Form and Results in Separate Pages
Tag Conventions
Tag Specifications
Chapter 13 Monitoring Your Server
Monitoring Capabilities in Sun Java System Web Server
Monitoring The Server Statistics
Viewing The Statistics
Viewing the Monitoring stats-xml File
Modifying Monitoring Parameters
Configuring Monitoring Parameters
Configuring SNMP Subagent Parameters
Configuring SNMP Subagent
Configuring SNMP Using CLI
To Activate SNMP on Solaris
To Activate SNMP on Linux
To Activate SNMP on Windows
To Configure Peer Based Master Agent (magt)
Setting Up Logging for Your Server
Types of Log
Viewing Access and Server Logs
Configuring Log Parameters
Editing Access Log Preferences
Editing Server Log Preferences
Archiving Log Files
Setting Log Rotation
Archive Command
Configuring Log Settings for Administration Server
To Modify the Server Log Location
To Modify the Log Verbosity Level
To Modify the Date Format for the Log
Chapter 14 Internationalization and Localization
Entering Multi-byte Data
File or Directory Names
LDAP Users and Groups
Support for Multiple Character Encodings
WebDAV
Search
Configuring the Server to Serve Localized Content
Search Order
Appendix A CLI Changes From Previous Version
Appendix B FastCGI Plug-in
Introduction
Plug-in Functions (SAFs)
auth-fastcgi
responder-fastcgi
filter-fastcgi
error-fastcgi
FastCGI SAF Parameters
error-fastcgi SAF Error Reason Strings
Configuring FastCGI Plug-in on Web Server
Configuring FastCGI Plug-in on Web Server Manually
Modify the magnus.conf
Modify the MIME Type (Optional)
Modify the obj.conf
Configuring Multiple FastCGI Applications
Configuring the Virtual Hosting Environment
Sample Configuration File
Troubleshooting FastCGI Plug-in
Developing FastCGI Applications
Executing a FastCGI Application
Structure of a FastCGI Application
Using Perl
Using PHP
Using C/Java
Configuring FastCGI Plug-in on Web Server from Administration Console
To Configure FastCGI Plug-in from Administration Console
Configuring FastCGI Plug-in on Web Server from CLI
To Configure FastCGI Plug-in from CLI
Running FastCGI Enabled PHP Application in Remote Mode
To Run FastCGI Enabled PHP Application
Sample FastCGI Applications
Responder application in PHP (ListDir.php)
Authorizer application in Perl (SimpleAuth.pl)
Filter application in C (SimpleFilter.c)
Appendix C Web Services
Running JWSDP 2.0 samples on Web Server 7.0
Running JWSDP 2.0 samples
Appendix D Windows CGI Progams
Installing Windows CGI Programs
Overview of Shell CGI Programs for Windows
Specifying a Shell CGI Directory (Windows)
To Create a Directory for your Shell CGI Files
Specifying Windows CGI as a File Type
To Specify a File Extension for Windows CGI files
Glossary
© 2010, Oracle Corporation and/or its affiliates