Return-Path:
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
.
For example:
+ +AddDefaultCharset utf-8
+
For example:
+ +AddModule mod_include.c
+
+ See also: ClearModuleList,
Example:
+AllowOverride AuthConfig Indexes
See Also: AccessFileName
For example:
+ +AuthRealm Admins
AuthRealm "Top Secret"
+
+ The string provided for the AuthRealm
is what will
+ appear in the password dialog provided by most browsers.
AuthType
@@ -559,6 +583,11 @@
IP-address or a fully-qualified Internet
domain-name.
+ Examples:
+
+ BindAddress 192.168.15.48
+ BindAddress hostname.example.com
+
Only one BindAddress
directive can be used. For
more control over which address and ports Apache listens to,
use the Listen
directive
@@ -694,6 +723,11 @@
dumps won't normally get written. If you want a core dump for
debugging, you can use this directive to place it in a
different location.
+
+ For example:
+
+ CoreDumpDirectory /tmp
+
DefaultType
@@ -851,6 +885,8 @@
Directory, Location and Files sections work for an
explanation of how these different sections are combined when a
request is received
+
See also: DirectoryMatch
+ Examples
+
+ ErrorLog logs/vhost1.error
+ ErrorLog |/usr/local/bin/errorlog.pl
+
Apache 1.3 and above: Using
syslog
instead of a filename enables logging via
syslogd(8) if the system supports it. The default is to use
@@ -1218,6 +1259,10 @@
facility can be one of the names usually documented in
syslog(1).
+ For example:
+
+ ErrorLog syslog
+
SECURITY: See the security tips
document for details on why your security could be compromised
@@ -1329,7 +1374,18 @@
href="#location"><Location>
sections,
<Files>
sections can be used inside
.htaccess files. This allows users to control access to their
- own files, at a file-by-file level.
+ own files, at a file-by-file level.
+ For example, to password protect a single file within a
+ particular directory, you might add the following to your
+ .htaccess
file:
+
+
+ <Files admin.cgi>
+ Require group admin
+ </Files>
+
+
(See Require for details on using the
+ Require
directive
)
See also: How
Directory, Location and Files sections work for an
1.48 +17 -4 httpd-docs-1.3/htdocs/manual/mod/mod_mime.html.en
Index: mod_mime.html.en
===================================================================
RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_mime.html.en,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- mod_mime.html.en 8 Oct 2001 01:34:31 -0000 1.47
+++ mod_mime.html.en 4 Feb 2002 03:06:56 -0000 1.48
@@ -260,7 +260,7 @@
be specified with or without a leading dot.
See also: Files with
- multiple extensions
+ multiple extensions, SetHandler
AddLanguage
@@ -320,7 +320,8 @@
be specified with or without a leading dot.
See also: Files with
- multiple extensions
+ multiple extensions, DefaultLanguage
See also: mod_negotiation
@@ -398,6 +399,10 @@
languages, DefaultLanguage can only specify a
single language.
+ For example:
+
+ DefaultLanguage fr
+
If no DefaultLanguage directive is in force,
and a file does not have any language extensions as configured
by AddLanguage, then that file will be considered
@@ -437,6 +442,10 @@
Note that this will override any filename extensions that
might determine the media type.
+
+ See also: AddType
+
Note:RemoveEncoding directives are processed
- after any AddEncoding directives, so it is possible they
+ after any AddEncoding
+ directives, so it is possible they
may undo the effects of the latter if both occur within the
same directory configuration.
@@ -600,12 +610,15 @@
Another example: if you wanted to have the server display a
status report whenever a URL of
http://servername/status
was called, you might put
- the following into access.conf:
+ the following into access.conf: (See mod_status for more details.)
<Location /status>
SetHandler server-status
</Location>
+
+
See also: AddHandler
TypesConfig