查询的标签:


Apache模块开发中的内容过滤

标签: , , , , , and

最近在持续研究Apache服务器的模块开发。在模块开发中,有一个很重要的方面就是对内容进行处理,包括请求的内容与返回的内容。Apache本身带了一个Module,能够对输出内容进行过滤。原来一直没有发现,直到看到下面这篇文章才恍然大悟。谢谢文章的作者Linux_prog先生~在加上apache的tutor网站上的内容http://www.apachetutor.org/dev/smart-filter,应该能够对Apache内容处理方面的模块开...

1 Comment »

Apache模块开发中的请求处理

标签: , , , , , and

最近持续在研究Apache的模块开发,为在Apache上的实验做准备。以下是介绍Apache Module中处理请求的过程,以及如何加入请求处理挂钩以及响应处理挂钩。尤其是几张图,很清晰地解释了Apache处理请求以及返回结果的框架。只是这篇文章主要从概念上介绍,没有实际可用的代码,仅帮助开发人员理解之用。
Request Processing in Apache
Processing HTTP requests is central to most web applic...

No Comments »

为Apache开发一个Module的实例

标签: , , , , , and

这是一篇介绍为Apache开发一个新的Module的Tutorial,非常简单易懂,英语六级以上的人看懂应该没有问题。如果你觉得看得麻烦,可以直接看其中的代码以及指令部分。 
This tutorial guides the reader through the minimal tasks involved in writing a module for Apache 2. The module developed here has almost no functionality - it's only impact is the generation of a static message to logs/errorlog for each HTTP request.
  No Comments »


在Apache中自己开发一个新的Module

标签: , , , , and

最近需要在Apache中做实验,需要改Apache的源代码,感觉很头大。以下是找到的一篇关于Apache Module开发(Apche Modules Develop)的文章,觉得有些用处,先保留下来,也供大家一起参考。
Writing Apache modules
Apache, like many other successful open source projects has a modular architecture. This means that to add or modify functionality you do not need to know the whole code base. Source code access for Apache means that you c...

No Comments »