惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
Know Your Adversary
Know Your Adversary
P
Palo Alto Networks Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
K
Kaspersky official blog
L
LINUX DO - 热门话题
P
Proofpoint News Feed
P
Privacy & Cybersecurity Law Blog
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
Cisco Talos Blog
Cisco Talos Blog
AI
AI
L
LINUX DO - 最新话题
H
Heimdal Security Blog
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The GitHub Blog
The GitHub Blog
I
Intezer
Blog — PlanetScale
Blog — PlanetScale
有赞技术团队
有赞技术团队
S
Securelist
博客园_首页
IT之家
IT之家
Schneier on Security
Schneier on Security
博客园 - 叶小钗
罗磊的独立博客
WordPress大学
WordPress大学
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
W
WeLiveSecurity
The Register - Security
The Register - Security
D
DataBreaches.Net
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
Recorded Future
Recorded Future
NISL@THU
NISL@THU
N
News and Events Feed by Topic
T
Tailwind CSS Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
T
Tor Project blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com

博客园 - 古代

linux下关于重命名卷标 wget header参数使用。 - 古代 - 博客园 奔波尔霸温瑞安 方娥真〈月台〉析论 入凡尘十二年的方娥真 模拟兼容onmouseleave,onmouseenter - 古代 - 博客园 python 进程通信测试代码(程序A,程序B) parse_url 和再pathinfo,what you'll get - 古代 autopos php转换拼音,全。 自动杀死pps的后台进程 js表达式转义 - 古代 - 博客园 批量jstest get_top_dom($dom); - 古代 - 博客园 rm大量文件 Read-only file system处理记录 通过PHP获取生僻字的汉语拼音[转] 唉,这个备案,头疼. 神奇的js代码,图片全都飞起来了
RPM 安装mod_encoding,linux下apache支持中文名
古代 · 2010-03-05 · via 博客园 - 古代

----------------------RPM 安装mod_encoding------------------------
linux下apache支持中文名,都是讲的 mod_encoding
mod_encoding-20021209.tar.gz 这个版本有严重的内存泄漏问题。一般来说1天以内4G内存全部跑完
不知道这个RPM包有没有解决

1、我的是apache 2.2.3版本,请注意你的apache版本,一般2.2.x都可以。
2、开启mod_encoding支持,需要开启mod_headers模块
  vi httpd.conf修改(该模块的安装不做介绍另请查阅,我的apache自带):
  LoadModule headers_module modules/mod_headers.so
3、在安装mod_encoding RPM包时会自动生成 /etc/httpd/conf.d/mod_encoding.conf

-----------以下为安装步骤
wget ftp://ftp.aconus.com/fc5/mod_encoding/mod_encoding-2.2.0-1.i386.tar.gz
tar zxvf mod_encoding-2.2.0-1.i386.tar.gz
rpm -ivh iconv_hook-1.0.0-1.i386.rpm mod_encoding-2.2.0-1.i386.rpm 
rpm -ql mod_encoding-2.2.0-1.i386
rpm -ql iconv_hook-1.0.0-1.i386

cp /usr/lib/httpd/modules/mod_encoding.so /opt/app/apache2/modules/
cp /etc/httpd/conf.d/mod_encoding.conf /opt/app/apache2/conf/extra/

mod_encoding.conf内容如下

LoadFile /usr/local/lib/libiconv_hook.so.1
LoadModule encoding_module modules/mod_encoding.so
<IfModule mod_encoding.c>
    EncodingEngine on
    NormalizeUsername on
    SetServerEncoding GBK
    DefaultClientEncoding UTF-8 GBK GB2312
</IfModule>

5、修改完毕
mod_encoding包源站下载地址:
RPM安装包
ftp://ftp.aconus.com/fc5/mod_encoding/mod_encoding-2.2.0-1.i386.tar.gz
源码包
ftp://ftp.aconus.com/fc5/mod_encoding/mod_encoding-2.2.0-1.src.tar.gz