Author: Tank http://hi.baidu.com/uroot 2008.1.31 Tank Original
Configuration:
The configuration file in httpd. conf is written in the same way as that in Linux.
Environment: Apache 2.2.x, Windows Server 2003 or Windows XP
First, ensure that your apache2.2.x can be started normally and provide services. The word it works appears when ie accesses the Server HTTP.
1: You need to download a http://www.zlatkovic.com/pub/libxml/ iconv. DLL to the Windows system32 directory. If you select static Link Library iconv_a.lib when linking iconv. This step is not required. Other services, such as msvcrt80.dll, are deployed to the target server if necessary.
System32 directory.
2: Copy mod_encoding.dll to the Apache modules directory. For example, c: \ apache2 \ modules
3. modify the configuration file httpd. conf In the conf subdirectory of Apache.
Add the following Configuration:
Loadmodule headers_module modules/mod_headers.so
# Mod_headers must be loaded
Loadmodule encoding_module modules/mod_encoding.dll
<Ifmodule mod_headers.c>
Header add MS-author-via "Dav"
</Ifmodule>
<Ifmodule mod_encoding.c>
Encodingengine on
Normalizeusername on
Setserverencoding GBK
Defaultclientencoding UTF-8 GBK gb2312
Addclientencoding "(Microsoft. * Dav $)" UTF-8 GBK gb2312
Addclientencoding "Microsoft. * Dav" UTF-8 GBK gb2312
Addclientencoding "Microsoft-WebDAV *" UTF-8 GBK gb2312
</Ifmodule> then restart Apache. If an error occurs during Apache startup, see error. log in the logs subdirectory of the Apache installation directory.