文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Apache is a modular server

Apache is a modular server

时间:2006-12-05  来源:适兕

阅读过《Tht art of unix program》的人明白这个道理,KISS理论!!!
从linux内核,到GNU软体,无一不体现这一思想!apache,从学院走出来的补丁程序也不例外,当然bsd系列更是!

模块化的最大的优势就是用户可以根据自己的实际 需要进行裁减和增加。模块的存在有两种方式,一种就是在编译Apache的时候跟核心文件一起编译,这时候的模块我们称之为静态链接编译模块;另一种存在 方式就是独立于Apache的核心文件,这种文件何时编译与Apache的核心文件无关,核心文件也不关心其存在。核心文件只有在需要的时候才去找它并将 它装入自己的执行空间。这种方式称之为动态状态模块。
DSO(Dynamic Shared Object,动态共享对象) 的产生当然离不开操作系统的支持。目前的不 管UNIX还是Linux大多提供了对动态共享对象或者动态链接库进行加载何卸载的机制。加载的方法通常有两种:其一是在可执行文件启动时候由系统程序 ld.so自动加载;其二是在执行程序中手工地通过Unix提供的动态链接库加载接口进行加载。

下载 http源代码,.configure --help可以查看其编译模块的方式。
所支持的核心模块和外挂功能模块可参考下面网址:
http://man.lupaworld.com/content/manage/Apache2.2_chinese_manual/mod/index.html

英文参考:
Apache is a modular server。This implies that only the most basic functionality is included in the core server. Extended features are available through modules which can be loaded into Apache. By default, a base set of modules is included in the server at compile-time. If the server is compiled to use dynamically loaded  modules, then modules can be compiled separately and added at any time using the LoadModule  directive. Otherwise, Apache must be recompiled to add or remove modules. Configuration directives may be included conditional on a presence of a particular module by enclosing them in an <IfModule> block.



相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载