Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 92275 invoked by uid 500); 4 Feb 2002 03:06:58 -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 92258 invoked by uid 500); 4 Feb 2002 03:06:58 -0000 Delivered-To: apmail-apache-1.3-cvs@apache.org Delivered-To: apmail-httpd-docs-1.3-cvs@apache.org Date: 4 Feb 2002 03:06:57 -0000 Message-ID: <20020204030657.84281.qmail@icarus.apache.org> From: rbowen@apache.org To: httpd-docs-1.3-cvs@apache.org Subject: cvs commit: httpd-docs-1.3/htdocs/manual/mod core.html.en mod_mime.html.en X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N rbowen 02/02/03 19:06:57 Modified: htdocs/manual/mod core.html.en mod_mime.html.en Log: A few additional examples, and some links to related directives/docs. Revision Changes Path 1.206 +61 -5 httpd-docs-1.3/htdocs/manual/mod/core.html.en Index: core.html.en =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/core.html.en,v retrieving revision 1.205 retrieving revision 1.206 diff -u -r1.205 -r1.206 --- core.html.en 11 Jan 2002 20:36:30 -0000 1.205 +++ core.html.en 4 Feb 2002 03:06:56 -0000 1.206 @@ -365,8 +365,12 @@ Off 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 @@ -388,6 +392,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:

+ + AddModule mod_include.c + +

See also: ClearModuleList,


AllowOverride @@ -471,8 +482,10 @@
Limit
- Allow use of the directives controlling host access (Allow, - Deny and Order).
+ Allow use of the directives controlling host access (
Allow, + Deny + and Order).
Options
@@ -482,6 +495,9 @@ href="mod_include.html#xbithack">XBitHack). +

Example:

+

AllowOverride AuthConfig Indexes

+

See Also: AccessFileName


@@ -510,6 +526,14 @@ as AuthUserFile and AuthGroupFile to work.

+ +

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