Skip to content
forked from yubo/http_stat

http_stat 是一个linux module, 在POST_ROUTING,LOCAL_IN处对经过的http内容做检查和替换

Notifications You must be signed in to change notification settings

mengxp/http_stat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http_stat 简介

http_stat 是一个linux module, 在POST_ROUTING,LOCAL_IN处对经过的http内容做检查和替换,放置在服务器,本地,或者网关位置都可以工作。用来匹配responses中的特定编号,然后替换内容,比如替换所有404页面的内容,如下图:

Alt text

使用

#在linux-3.2.62上测试通过,需要module编译环境
git clone https://github.com/yubo/http_stat.git
cd http_stat
make
make start

配置

请阅读

  • Makefile
  • conf/404.html

About

http_stat 是一个linux module, 在POST_ROUTING,LOCAL_IN处对经过的http内容做检查和替换

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.2%
  • Makefile 1.8%
  • HTML 1.0%