2310N/A# This is the main Apache HTTP server configuration file. It contains the 2310N/A# configuration directives that give the server its instructions. 2310N/A# for a discussion of each configuration directive. 3237N/A# Solaris Quick Configuration Information 3237N/A# 1. Set ServerName if necessary (default is 127.0.0.1) 3237N/A# 2. Set ServerAdmin to a valid email address 2310N/A# Do NOT simply read the instructions in here without understanding 2310N/A# what they do. They're here only as hints or reminders. If you are unsure 2310N/A# consult the online docs. You have been warned. 2310N/A# Configuration and logfile names: If the filenames you specify for many 2310N/A# of the server's control files begin with "/" (or "drive:/" for Win32), the 2310N/A# server will use that explicit path. If the filenames do *not* begin 2310N/A# ServerRoot: The top of the directory tree under which the server's 2310N/A# configuration, error, and log files are kept. 2310N/A# Do not add a slash at the end of the directory path. If you point 3237N/A# ServerRoot at a non-local disk, be sure to specify a local disk on the 3237N/A# Mutex directive, if file-based mutexes are used. If you wish to share the 3237N/A# same ServerRoot for multiple httpd daemons, you will need to change at 2310N/A# Listen: Allows you to bind Apache to specific IP addresses and/or 2310N/A# ports, instead of the default. See also the <VirtualHost> 2310N/A# Change this to Listen on specific IP addresses as shown below to 2310N/A# prevent Apache from glomming onto all bound IP addresses. 2310N/A# Dynamic Shared Object (DSO) Support 2310N/A# To be able to use the functionality of a module which was built as a DSO you 3237N/A# have to place corresponding `LoadModule' lines at this location so the 3237N/A# directives contained in it are actually available _before_ they are used. 3237N/A# Statically compiled modules (those listed by `httpd -l') do not need 3237N/A# separate package "apache-ldap". 3237N/A# respectively "apache-ssl-fips-140" package. 2310N/A# If you wish httpd to run as a different user or group, you must run 2310N/A# httpd as root initially and it will switch. 2310N/A# It is usually good practice to create a dedicated user and group for 2310N/A# running httpd, as with most system services. 2310N/A# 'Main' server configuration 2310N/A# The directives in this section set up the values used by the 'main' 2310N/A# server, which responds to any requests that aren't handled by a 2310N/A# <VirtualHost> definition. These values also provide defaults for 2310N/A# any <VirtualHost> containers you may define later in the file. 2310N/A# All of these directives may appear inside <VirtualHost> containers, 2310N/A# in which case these default settings will be overridden for the 2310N/A# virtual host being defined. 2310N/A# ServerAdmin: Your address, where problems with the server should be 2310N/A# e-mailed. This address appears on some server-generated pages, such 2310N/A# as error documents. e.g. admin@your-domain.com 2310N/A# ServerName gives the name and port that the server uses to identify itself. 2310N/A# This can often be determined automatically, but we recommend you specify 2310N/A# it explicitly to prevent problems during startup. 2310N/A# If your host doesn't have a registered DNS name, enter its IP address here. 3237N/A# Deny access to the entirety of your server's filesystem. You must 3237N/A# explicitly permit access to web content directories in other 2310N/A# Note that from this point forward you must specifically allow 2310N/A# particular features to be enabled - so if something's not working as 2310N/A# you might expect, make sure that you have specifically enabled it 3237N/A# DocumentRoot: The directory out of which you will serve your 3237N/A# documents. By default, all requests are taken from this directory, but 3237N/A# symbolic links and aliases may be used to point to other locations. 2310N/A # Possible values for the Options directive are "None", "All", 2310N/A # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews 2310N/A # Note that "MultiViews" must be named *explicitly* --- "Options All" 2310N/A # The Options directive is both complicated and important. Please see 2310N/A # AllowOverride controls what directives may be placed in .htaccess files. 2310N/A # It can be "All", "None", or any combination of the keywords: 2310N/A # Options FileInfo AuthConfig Limit 2310N/A # Controls who can get stuff from this server. 2310N/A# DirectoryIndex: sets the file that Apache will serve if a directory 2310N/A# The following lines prevent .htaccess and .htpasswd files from being 2310N/A# ErrorLog: The location of the error log file. 2310N/A# If you do not specify an ErrorLog directive within a <VirtualHost> 2310N/A# container, error messages relating to that virtual host will be 2310N/A# logged here. If you *do* define an error logfile for a <VirtualHost> 2310N/A# container, that host's errors will be logged there and not here. 2310N/A# LogLevel: Control the number of messages logged to the error_log. 2310N/A# Possible values include: debug, info, notice, warn, error, crit, 2310N/A # The following directives define some format nicknames for use with 2310N/A # a CustomLog directive (see below). 2310N/A # The location and format of the access logfile (Common Logfile Format). 2310N/A # If you do not define any access logfiles within a <VirtualHost> 2310N/A # container, they will be logged here. Contrariwise, if you *do* 2310N/A # define per-<VirtualHost> access logfiles, transactions will be 2310N/A # logged therein and *not* in this file. 2310N/A # If you prefer a logfile with access, agent, and referer information 2310N/A # (Combined Logfile Format) you can use the following directive. 2310N/A # Redirect: Allows you to tell clients about documents that used to 2310N/A # exist in your server's namespace, but do not anymore. The client 2310N/A # will make a new request for the document at its new location. 2310N/A # Alias: Maps web paths into filesystem paths and is used to 2310N/A # access content that does not live under the DocumentRoot. 2310N/A # If you include a trailing / on /webpath then the server will 2310N/A # require it to be present in the URL. You will also likely 2310N/A # need to provide a <Directory> section to allow access to 2310N/A # ScriptAlias: This controls which directories contain server scripts. 2310N/A # ScriptAliases are essentially the same as Aliases, except that 2310N/A # documents in the target directory are treated as applications and 2310N/A # run by the server when requested rather than as documents sent to the 2310N/A # client. The same rules about trailing "/" apply to ScriptAlias 2310N/A # ScriptSock: On threaded servers, designate the path to the UNIX 2310N/A # socket used to communicate with the CGI daemon of mod_cgid. 2310N/A# CGI directory exists, if you have that configured. 2310N/A # TypesConfig points to the file containing the list of mappings from 2310N/A # filename extension to MIME-type. 2310N/A # AddType allows you to add to or override the MIME configuration 2310N/A # file specified in TypesConfig for specific file types. 2310N/A # AddEncoding allows you to have certain browsers uncompress 2310N/A # information on the fly. Note: Not all browsers support this. 2310N/A #AddEncoding x-gzip .gz .tgz 2310N/A # If the AddEncoding directives above are commented-out, then you 2310N/A # probably should define those extensions to indicate media types: 2310N/A # AddHandler allows you to map certain file extensions to "handlers": 2310N/A # actions unrelated to filetype. These can be either built into the server 2310N/A # or added with the Action directive (see below) 2310N/A # To use CGI scripts outside of ScriptAliased directories: 2310N/A # (You will also need to add "ExecCGI" to the "Options" directive.) 2310N/A #AddHandler cgi-script .cgi 2310N/A # For type maps (negotiated resources): 2310N/A # Filters allow you to process content before it is sent to the client. 2310N/A # To parse .shtml files for server-side includes (SSI): 2310N/A # (You will also need to add "Includes" to the "Options" directive.) 2310N/A #AddOutputFilter INCLUDES .shtml 2310N/A # this file type on a web page launches PackageManager in a Webinstall mode. 2310N/A# The mod_mime_magic module allows the server to use various hints from the 2310N/A# contents of the file itself to determine its type. The MIMEMagicFile 2310N/A# directive tells the module where the hint definitions are located. 2310N/A# Customizable error responses come in three flavors: 2310N/A# 1) plain text 2) local redirects 3) external redirects 2310N/A#ErrorDocument 500 "The server made a boo boo." 3237N/A# MaxRanges: Maximum number of Ranges in a request before 3237N/A# returning the entire resource, or one of the special 3237N/A# values 'default', 'none' or 'unlimited'. 3237N/A# Default setting is to accept 200 Ranges. 2310N/A# EnableMMAP and EnableSendfile: On systems that support it, 3237N/A# memory-mapping or the sendfile syscall may be used to deliver 2310N/A# files. This usually improves server performance, but must 2310N/A# be turned off when serving from networked-mounted 2310N/A# filesystems or if support for these functions is otherwise 3237N/A# Defaults: EnableMMAP On, EnableSendfile Off 2310N/A# Supplemental configuration 2310N/A# Include all the .conf configuration files in the 2310N/A# You can place additional configuration files in the 2310N/A# or to modify the default configuration of the server, 2310N/A# or you may simply copy their contents here and change as 2310N/A# Sample configuration files are in the 2310N/A# directory and modify as required. 2310N/A# Note: The following must must be present to support 2310N/A# but a statically compiled-in mod_ssl.