SWiK
» tagged pages
» logout
login / register
(
0
changes)
Return to Jabber XMPP resource
更改一个目录的apache的默认字符集
Your tags:
or
Cancel
Tags Applied to this Entry
1 person has tagged this page:
linux
tuning
Jabber-linux
Tag this Entry
|
Tagging Details
Recent Edits for Jabber-linux
Recent Edits for Jabber XMPP resource
Recent Edits for 更改一个目录的apache的默认字符集
created on 14 Nov 2007, by Syndication,
read more…
首先确保apache允许目录单独设置
in /etc/apache2/apache2.conf 或 /etc/httpd/conf/httpd.conf
AllowOverride None
=>
AllowOverride All
如下
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
在具体目录的 .htaccess 增加gb2312,或utf8,iso8859-1等
AddDefaultCharset gb2312
类别:
Linux Tuning
查看评论
Your SWiK user name
A new account
Username:
Password:
Remember me on this computer
Take credit for any changes I made as an anonymous user
(or
Cancel
)
Username:
Email:
(
Optional
… for lost password, etc.)
Password:
Verify:
Remember me on this computer
Take credit for any edits made as an anonymous user
(or
Cancel
)