From 77b02c80aa69ed1be527589f455155c2b326755f Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Sat, 25 Aug 2001 18:46:16 +0000 Subject: [PATCH] Added documentation of RemoveCharset, RemoveLanguage to mod_mime.html. Added links to directives.html. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90661 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/directives.html | 4 ++ docs/manual/mod/mod_mime.html | 79 ++++++++++++++++++++++++++++++++- 2 files changed, 82 insertions(+), 1 deletion(-) diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index ad1ee315e0..aa21281883 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -205,7 +205,11 @@ of the terms used in their descriptions available.
  • RedirectMatch
  • RedirectPermanent
  • RedirectTemp +
  • RemoveCharset +
  • RemoveEncoding
  • RemoveHandler +
  • RemoveLanguage +
  • RemoveType
  • RequestHeader
  • Require
  • RewriteBase diff --git a/docs/manual/mod/mod_mime.html b/docs/manual/mod/mod_mime.html index 26e1427c07..3736515256 100644 --- a/docs/manual/mod/mod_mime.html +++ b/docs/manual/mod/mod_mime.html @@ -72,8 +72,10 @@ copies may still be used by a client or proxy, with the previous headers.
  • AddType
  • DefaultLanguage
  • ForceType +
  • RemoveCharset
  • RemoveEncoding
  • RemoveHandler +
  • RemoveLanguage
  • RemoveType
  • SetHandler
  • TypesConfig @@ -162,7 +164,7 @@ another important piece of information is what language a particular document is in, and in what character set the file should be displayed. For example, the document might be written in the Vietnamese alphabet, or in Cyrillic, and should be -displayed as such. This information, also, is transmitted in MIME +displayed as such. This information, also, is transmitted in HTTP headers.

    While the character set is useful for the browser, in order to @@ -580,6 +582,44 @@ had a directory full of GIF files, but did not want to label them all with

    Note that this will override any filename extensions that might determine the media type.


    +

    RemoveCharset directive

    + +Syntax: RemoveCharset extension + [extension] ...
    +Context: directory, .htaccess
    +Status: Base
    +Module: mod_mime
    +Compatibility: RemoveCharset is only available in Apache +2.0.24 and later.

    + +

    +The RemoveCharset directive removes any +character set associations for files with the given extensions. +This allows .htaccess files in subdirectories to undo +any associations inherited from parent directories or the server +config files. +

    +

    The extension argument is case-insensitive, and can +be specified with or without a leading dot.

    + +
    + +

    RemoveEncoding directive


    +

    RemoveLanguage directive

    + +Syntax: RemoveLanguage extension + [extension] ...
    +Context: directory, .htaccess
    +Status: Base
    +Module: mod_mime
    +Compatibility: RemoveLanguage is only available in +Apache 2.0.24 and later.

    + +

    +The RemoveLanguage directive removes any +language associations for files with the given extensions. +This allows .htaccess files in subdirectories to undo +any associations inherited from parent directories or the server +config files. +

    +

    The extension argument is case-insensitive, and can +be specified with or without a leading dot.

    + +
    +

    RemoveType directive