Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 29944 invoked by uid 500); 9 Feb 2002 21:16:00 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 29933 invoked by uid 500); 9 Feb 2002 21:16:00 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 9 Feb 2002 21:15:55 -0000 Message-ID: <20020209211555.33164.qmail@icarus.apache.org> From: rbowen@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/docs/manual/mod core.html X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N rbowen 02/02/09 13:15:55 Modified: docs/manual/mod core.html Log: Copied changes that have been made recently to the 1.3 documentation. Primarily additional explanation and examples. Revision Changes Path 1.211 +91 -5 httpd-2.0/docs/manual/mod/core.html Index: core.html =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.html,v retrieving revision 1.210 retrieving revision 1.211 diff -u -r1.210 -r1.211 --- core.html 6 Feb 2002 21:34:10 -0000 1.210 +++ core.html 9 Feb 2002 21:15:55 -0000 1.211 @@ -253,7 +253,8 @@

See Also: AllowOverride

+ href="#allowoverride">AllowOverride and Configuration Files


disables this functionality. AddDefaultCharset On enables Apache's internal default charset of iso-8859-1 as required by the directive. You can - also specify an alternate charset to be used; e.g. - AddDefaultCharset utf-8.

+ also specify an alternate charset to be used. For + example:

+ +
+ AddDefaultCharset utf-8 +
+

AddModule @@ -303,6 +309,13 @@ of those modules. The server comes with a pre-loaded list of active modules; this list can be cleared with the ClearModuleList directive.

+ +

For example:

+ +
+ AddDefaultCharset utf-8 +
+

AllowOverride @@ -399,8 +412,13 @@ href="mod_include.html#xbithack">XBitHack). +

Example:

+ +
AllowOverride AuthConfig Indexes
+

See Also: AccessFileName

+ href="#accessfilename">AccessFileName and Configuration Files


AuthName @@ -427,6 +445,18 @@ as AuthUserFile and AuthGroupFile to work.

+ +

For example:

+ +
AuthName "Top Secret"
+ +

The string provided for the AuthRealm is what will + appear in the password dialog provided by most browsers.

+ +

See also: Authentication, Authorization, and + Access Control

+

AuthType @@ -452,6 +482,10 @@ as AuthUserFile and AuthGroupFile to work.

+ +

See also: Authentication, Authorization, and + Access Control


If Include points to a directory, rather than a file, Apache will read all files in that directory, and any subdirectory, and parse those as configuration files.

+ +

The file path specified may be a fully qualified path (i.e. + starting with a slash), or may be relative to the + ServerRoot directory.

+ +

Examples:

+ +
+ Include /usr/local/apache/conf/ssl.conf
+ Include /usr/local/apache/conf/vhosts/ +
+ +

Or, providing paths relative to your ServerRoot + directory:

+ +
+ Include conf/ssl.conf
+ Include conf/vhosts/ +
+ +

Make sure that an included directory does not contain any stray + files, such as editor temporary files, for example, as Apache will + attempt to read them in and use the contents as configuration + directives, which may cause the server to fail on start up. + Running apachectl configtest will give you a list of + the files that are being processed during the configuration + check:

+ +

  + root@host# apachectl configtest
  +  Processing config directory: /usr/local/apache/conf/vhosts
  +  Processing config file: /usr/local/apache/conf/vhosts/vhost1
  +  Processing config file: /usr/local/apache/conf/vhosts/vhost2
  + Syntax OK
  + 
+ +

This will help in verifying that you are getting only the files + that you intended as part of your configuration.

+ +

See also: apachectl

+ +
-

KeepAlive +

KeepAlive directive

Syntax: KeepAlive on/off
Default: KeepAlive On
@@ -2327,6 +2404,15 @@ host, for use with name-based virtual hosts.

+ +

Example:

+ +
  +    <VirtualHost *>
  +    ServerName server.domain.com
  +    ServerAlias server server2.domain.com server2
  +    ...
  +    </VirtualHost>
   
       

See also: Apache Virtual Host documentation