最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

<-
Apache > HTTP Server > 文檔 > 版本2.2 > 模塊
   致謝 | 譯者聲明 | 本篇譯者:<虛位以待> | 本篇譯稿完成時間:?年?月?日 | 獲取最新版本

Apache模塊 mod_charset_lite

說明允許對頁面進行字符集轉換
狀態(tài)實驗(X)
模塊名charset_lite_module
源文件mod_charset_lite.c

概述

This is an experimental module and should be used with care. Experiment with your mod_charset_lite configuration to ensure that it performs the desired function.

mod_charset_lite allows the administrator to specify the source character set of objects as well as the character set they should be translated into before sending to the client. mod_charset_lite does not translate the data itself but instead tells Apache what translation to perform. mod_charset_lite is applicable to EBCDIC and ASCII host environments. In an EBCDIC environment, Apache normally translates text content from the code page of the Apache process locale to ISO-8859-1. mod_charset_lite can be used to specify that a different translation is to be performed. In an ASCII environment, Apache normally performs no translation, so mod_charset_lite is needed in order for any translation to take place.

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

top

Common Problems

Invalid character set names

The character set name parameters of CharsetSourceEncCharsetDefault 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:

top

CharsetDefault 指令

說明Charset to translate into
語法CharsetDefault charset
作用域server config, virtual host, directory, .htaccess
覆蓋項FileInfo
狀態(tài)實驗(X)
模塊mod_charset_lite

CharsetDefault directive specifies the charset that content in the associated container should be translated to.

The value of the charset argument must be accepted as a valid character set name by the character set support in APR. Generally, this means that it must be supported by iconv.

示例

<Directory /export/home/trawick/apacheinst/htdocs/convert>
CharsetSourceEnc UTF-16BE
CharsetDefault ISO-8859-1
</Directory>

top

CharsetOptions 指令

說明Configures charset translation behavior
語法CharsetOptions option [option] ...
默認值CharsetOptions DebugLevel=0 NoImplicitAdd
作用域server config, virtual host, directory, .htaccess
覆蓋項FileInfo
狀態(tài)實驗(X)
模塊mod_charset_lite

CharsetOptions directive configures certain behaviors of mod_charset_lite. Option can be one of

DebugLevel=n
The DebugLevel keyword allows you to specify the level of debug messages generated by mod_charset_lite. By default, no messages are generated. This is equivalent to DebugLevel=0. With higher numbers, more debug messages are generated, and server performance will be degraded. The actual meanings of the numeric values are described with the definitions of the DBGLVL_ constants near the beginning of mod_charset_lite.c.
ImplicitAdd | NoImplicitAdd
The ImplicitAdd keyword specifies that mod_charset_lite should implicitly insert its filter when the configuration specifies that the character set of content should be translated. If the filter chain is explicitly configured using the AddOutputFilter directive, NoImplicitAdd should be specified so that mod_charset_lite doesn't add its filter.
top

CharsetSourceEnc 指令

說明Source charset of files
語法CharsetSourceEnc charset
作用域server config, virtual host, directory, .htaccess
覆蓋項FileInfo
狀態(tài)實驗(X)
模塊mod_charset_lite

CharsetSourceEnc directive specifies the source charset of files in the associated container.

The value of the charset argument must be accepted as a valid character set name by the character set support in APR. Generally, this means that it must be supported by iconv.

示例

<Directory /export/home/trawick/apacheinst/htdocs/convert>
CharsetSourceEnc UTF-16BE
CharsetDefault ISO-8859-1
</Directory>

The character set names in this example work with the iconv translation support in Solaris 8.

元谋县| 韩城市| 海宁市| 清新县| 丰宁| 梅河口市| 洱源县| 阿克| 咸阳市| 成武县| 秦皇岛市| 塔河县| 南丰县| 泽库县| 孝义市| 德昌县| 陆良县| 东宁县| 枣阳市| 清水县| 灌云县| 德令哈市| 固镇县| 囊谦县| 南皮县| 台前县| 福贡县| 无锡市| 中山市| 定南县| 深州市| 图木舒克市| 洛阳市| 苏尼特右旗| 临安市| 眉山市| 赣榆县| 宜州市| 祁连县| 冕宁县| 黎平县|