From: Jim Jagielski Date: Thu, 3 Feb 2000 14:22:26 +0000 (+0000) Subject: Streamline the AddDefaultCharset directive. Now this one directive X-Git-Tag: 1.3.12~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=312b86c116a99d08ec4c3be298e86034199ecb8b;p=apache Streamline the AddDefaultCharset directive. Now this one directive controls the entire 'charset' specification setup. If there is heartburn, I have no trouble with backing this out, but it makes live easier for those not using the "default" charset, and reduces directive bloat a bit :) PR: Obtained from: Submitted by: Reviewed by: Martin git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84564 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 8db1ccb120..4a5434d378 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -24,7 +24,6 @@ always available.
  • AccessConfig
  • AccessFileName
  • AddDefaultCharset -
  • AddDefaultCharsetName
  • AddModule
  • AllowOverride
  • AuthName @@ -167,38 +166,23 @@ AllowOverride None

    AddDefaultCharset directive

    Syntax: -AddDefaultCharset on / off
    +AddDefaultCharset None / Default / charset
    Context: all
    Status: core
    Default: -AddDefaultCharset off
    +AddDefaultCharset None
    Compatibility: - AddDefaultCharset is only available in Apache 1.3.12 and later

    -If enabled, any response that does not have any parameter on the content -type in the HTTP headers will have a charset parameter added specifying -the character set the client should use for the document. This will -override any character set specified in the body of the document via a -META tag. The character set added is specified by the -AddDefaultCharsetName directive. -


    - -

    AddDefaultCharsetName directive

    -Syntax: -AddDefaultCharsetName charset
    -Context: -all
    -Status: -core
    -Default: -AddDefaultCharsetName iso-8859-1
    -Compatibility: - AddDefaultCharsetName is only available in Apache 1.3.12 and + AddDefaultCharset is only available in Apache 1.3.12 and later

    This directive specifies the name of the character set that will be added -if the AddDefaultCharset directive is -enabled. +to any response that does not have any parameter on the content +type in the HTTP headers. This will override any character set specified +in the body of the document via a META tag. A setting +of AddDefaultCharset None disables this functionality. +AddDefaultCharset Default is the exact same as +AddDefaultCharsetName iso-8859-1.


    AddModule directive

    diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index 2a3521ddec..84c6b704cd 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -32,7 +32,6 @@ of the terms used in their descriptions available.
  • AddAltByType
  • AddCharset
  • AddDefaultCharset -
  • AddDefaultCharsetName
  • AddDescription
  • AddEncoding
  • AddHandler