Apache mod_xml_charset version 0.2.2 Yoshida Masato yoshidam@yoshidam.net - Introduction This is the module to decide a charset parameter of content-type by the byte order mark (BOM) or the encoding declaration of each XML file. - Download http://www.yoshidam.net/mod_xml_charset-0.2.2.tar.gz - Installation This module requires Apache 1.3.x (confirmed to work with 1.3.4 and 1.3.6), Apache 2.0.x or Apache 2.2.x. Compile with Apache ./configure --add-module=/path/to/mod_xml_charset.c or build a dynamic shared object /usr/sbin/apxs -c mod_xml_charset.c sudo /usr/sbin/apxs -i -a mod_xml_charset.la - Configuration In httpd.conf XMLCharset on AddXMLType text/xml xml xsl or each .htaccess (you must AllowOverride FileInfo in httpd.conf) XMLCharset on AddXMLType text/xml xml xsl - Command XMLCharset Syntax: XMLCharset {on,off} Context: directory, .htaccess Enable or disable XMLCharset feature. It override the parent directory setting. AddXMLType Syntax: AddXMLType MIME-type extension extension... Context: directory, .htaccess Associate content-type with file extensions. It inherit the parent directory setting and append new rules. - Note This module should be given higher priority than mod_mime and mod_mime_magic. If a content-type is once decided by these modules, this would not override it. - Copying This extension module is copyrighted free software by Yoshida Masato. You can redistribute it and/or modify it under the same term as Apache. - Author Yoshida Masato - History Apr 13, 2010 version 0.2.2 fix INTERNAL_SERVER_ERROR for 0 bytes file Jun 24, 2002 version 0.2.0 apache-2.0 May 16, 1999 version 0.1.5 fix to open directory May 14, 1999 version 0.1.4 fix buffer-overrun of skipS Apr 16, 1999 version 0.1.3 fix EBCDIC support Apr 14, 1999 version 0.1.2 append some encodings Apr 12, 1999 version 0.1