From 42486ee3f333acec00a29332e9d2869bc4e9d016 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Sat, 9 Feb 2002 21:15:55 +0000 Subject: [PATCH] Copied changes that have been made recently to the 1.3 documentation. Primarily additional explanation and examples. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93354 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html | 96 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 91 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 65a1affa4c..320e754ff4 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -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
@@ -2328,6 +2405,15 @@ href="../vhosts/name-based.html">name-based virtual hosts.

+

Example:

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

See also: Apache Virtual Host documentation


-- 2.40.0