View Source

                                                                                                                                                                                                                                                                                                                                      *Back to [[Book|Administrator's Configuration File Reference#cfr]]     [[Topic|Administrator's Configuration File Reference#chap1]]*
h2. Configuration Files
Each server instance has its own directory, called _instance_dir_ in this document. The _instance_dir_{{/config}} directory contains configuration files for the Web Server components. The exact number and names of the configuration files depend on the components that have been enabled or loaded into the server. For the default location of the _instance_dir_, see [Default Paths and File Names].

These files, as well as some other configuration files not included in the {{config}} directory, are described in the following sections:
* [#The {{server.xml}} File]
* [#The {{magnus.conf}} File]
* [#The {{obj.conf}} File]
* [#The {{mime.types}} File]
* [#ACL Files]
* [#Other Configuration Files]

h3. The {{server.xml}} File

The {{server.xml}} file contains most of the server configuration. A schema file, {{sun-web-server_7_0.xsd}}, validates its format and content. For more information about {{sun-web-server_7_0.xsd}} and the various elements of {{server.xml}}, see [Syntax and Use of server.xml|Administrator's Configuration File Reference#chap2] and [Elements in server.xml|Administrator's Configuration File Reference#chap3].

h3. The {{magnus.conf}} File

The {{magnus.conf}} file contains the NSAPI plug-in initialization directives and settings that control the way NSAPI plug-ins are run. For more information about {{magnus.conf}}, see [Syntax and Use of magnus.conf|Administrator's Configuration File Reference#chap4] and [Predefined SAFs in magnus.conf|Administrator's Configuration File Reference#chap5].

h3. The {{obj.conf}} File

The {{obj.conf}} file contains directives for HTTP request processing. For more information about {{obj.conf}}, see [Syntax and Use of obj.conf|Administrator's Configuration File Reference#chap6] and [Predefined SAFs and Filters in obj.conf|Administrator's Configuration File Reference#chap7].

h3. The {{mime.types}} File

The {{mime.types}} file maps file extensions to MIME types to enable the server to determine the content type of a requested resource. For example, requests for resources with {{.html}} extensions indicate that the client is requesting an HTML file, while requests for resources with {{.gif}} extensions indicate that the client is requesting an image file in GIF format. For more information about {{mime.types}}, see [MIME Types|Administrator's Configuration File Reference#chap8].

h3. ACL Files

The Access Control List (ACL) files contain lists that define who can access resources stored on your Web Server. By default, Web Server uses one ACL file. You can create multiple ACL files and reference them in the {{obj.conf}} and {{server.xml}} files. For more information about ACL files, see [ACL Files|Administrator's Configuration File Reference#chap9].

h3. Other Configuration Files

Other configuration files for administration and for applications include the {{certmap.conf}}, {{sun-web.xml}}, {{login.conf}}, {{server.policy}}, and {{default-web.xml}}. For more information on these files, see [Other Server Configuration Files|Administrator's Configuration File Reference#chap10].

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact