Apache服务器URL访问中文编码设置
2021-06-27 06:06
标签:font cli src blog oca utf-8 soft default apache 在/usr/local/apache/conf/httpd.conf文件末位添加以下信息: Apache服务器URL访问中文编码设置 标签:font cli src blog oca utf-8 soft default apache 原文地址:http://www.cnblogs.com/yahu/p/7147946.html 1 #add chinese url code
2 LoadModule encoding_module /usr/local/apache/modules/mod_encoding.so
3 IfModule mod_headers.c>
4 Header add MS-Author-Via "DAV"
5 IfModule>
6
7 IfModule mod_encoding.c>
8 EncodingEngine on
9 NormalizeUsername on
10 SetServerEncoding GBK
11 DefaultClientEncoding UTF-8 GBK GB2312
12 AddClientEncoding "(Microsoft .* DAV $)" UTF-8 GBK GB2312
13 AddClientEncoding "Microsoft .* DAV" UTF-8 GBK GB2312
14 AddClientEncoding "Microsoft-WebDAV*" UTF-8 GBK GB2312
15 IfModule>
上一篇:21 css中字体的缩写
下一篇:深入C#的String类
文章标题:Apache服务器URL访问中文编码设置
文章链接:http://soscw.com/index.php/essay/98318.html