From: Joshua Slive Date: Wed, 29 Nov 2000 02:45:21 +0000 (+0000) Subject: Bring mod_charset_lite up to the "modern" format. X-Git-Tag: moving_to_httpd_module~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8e2f4f37e7c63820aa5024829de3454e819669f;p=apache Bring mod_charset_lite up to the "modern" format. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87120 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_charset_lite.html b/docs/manual/mod/mod_charset_lite.html index c5a51c6880..a853dabf96 100644 --- a/docs/manual/mod/mod_charset_lite.html +++ b/docs/manual/mod/mod_charset_lite.html @@ -14,18 +14,24 @@

Module mod_charset_lite

-

- This module is contained in the mod_charset_lite.c file, with - Apache 2.0 and later. It provides the ability to specify character set - translation, or recoding, by directory or location or virtual server. It - is not compiled into the server by default. mod_charset_lite - requires that Apache is compiled with APACHE_XLATE defined. -

+

This module provides the ability to specify character set + translation or recoding.

-

- This module provides a small subset of configuration mechanisms - implemented by Russian Apache and its associated mod_charset. -

+

Status: Experimental +
+Source File: mod_charset_lite.c +
+Module Identifier: charset_lite_module +

Summary

@@ -48,6 +54,14 @@ is needed in order for any translation to take place.

+

This module will only work if APACHE_XLATE is defined + at compile time.

+ +

+ This module provides a small subset of configuration mechanisms + implemented by Russian Apache and its associated mod_charset. +

+

Directives

+

Common Problems

+ +

Invalid character set names

+ +

+ The character set name parameters of CharsetSourceEnc and CharsetDefault + must be acceptable to the translation mechanism used by APR on the system + where mod_charset_lite is deployed. These character set names are not + standardized and are usually not the same as the corresponding values used + in http headers. Currently, APR can only use iconv(3), so you can easily + test your character set names using the iconv(1) program, as follows: +

+ +
+  iconv -f charsetsourceenc-value -t charsetdefault-value
+  
+ +

Mismatch between character set of content and translation rules

+ +

+ If the translation rules don't make sense for the content, translation + can fail in various ways, including: +

+ + +
  • + The translation mechanism may return a bad return code, and the connection + will be aborted. +
  • + The translation mechanism may silently place special characters (e.g., question + marks) in the output buffer when it cannot translate the input buffer. + +

    CharsetSourceEnc

    @@ -90,10 +137,6 @@ REL="Help" >Module: mod_charset_lite
    - Compatibility: Only available in Apache 2.0 or later

    The CharsetSourceEnc directive specifies the source charset @@ -119,6 +162,8 @@ translation support in Solaris 8.

    +


    +

    CharsetDefault

    Module: mod_charset_lite
    - Compatibility: Only available in Apache 2.0 or later

    The CharsetDefault directive specifies the charset that @@ -178,6 +219,8 @@

    +


    +

    CharsetOptions

    Module: mod_charset_lite
    - Compatibility: Only available in Apache 2.0 or later

    The CharsetOptions directive configures certain behaviors @@ -239,39 +278,7 @@

    -

    Common Problems

    - -

    Invalid character set names

    - -

    - The character set name parameters of CharsetSourceEnc and CharsetDefault - must be acceptable to the translation mechanism used by APR on the system - where mod_charset_lite is deployed. These character set names are not - standardized and are usually not the same as the corresponding values used - in http headers. Currently, APR can only use iconv(3), so you can easily - test your character set names using the iconv(1) program, as follows: -

    - -
    -  iconv -f charsetsourceenc-value -t charsetdefault-value
    -  
    - -

    Mismatch between character set of content and translation rules

    - -

    - If the translation rules don't make sense for the content, translation - can fail in various ways, including: -

    - - -
  • - The translation mechanism may return a bad return code, and the connection - will be aborted. -
  • - The translation mechanism may silently place special characters (e.g., question - marks) in the output buffer when it cannot translate the input buffer. - - +