Apache2动态加载所有模块
2013-04-09 16:25
239 查看
Apache2中使用“
Defines a list of modules to be enabled and build as dynamic shared modules. This mean, these module have to be loaded dynamically by using the
MODULE-LIST is a space separated list of modulenames enclosed by quotation marks. The module names are given without the preceding
Additionally you can use the special keywords
will compile most modules and build them as DSO modules.
Caveat:
所以,要加载所有的模块,需要按照如上方式加载。
另外,使用了--enable-mods-shared的话就不需要--enable-so了,官方解释如下:
--enable-mods-shared”动态加载模块,官方解释如下:
--enable-mods-shared=MODULE-LIST
Defines a list of modules to be enabled and build as dynamic shared modules. This mean, these module have to be loaded dynamically by using the
LoadModuledirective.
MODULE-LIST is a space separated list of modulenames enclosed by quotation marks. The module names are given without the preceding
mod_. For example:
--enable-mods-shared='headers rewrite dav'
Additionally you can use the special keywords
alland
most. For example,
--enable-mods-shared=most
will compile most modules and build them as DSO modules.
Caveat:
--enable-mods-shared=alldoes not actually build all modules. To build all modules then, one might use:
./configure \ --with-ldap \ --enable-mods-shared="all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache"
所以,要加载所有的模块,需要按照如上方式加载。
另外,使用了--enable-mods-shared的话就不需要--enable-so了,官方解释如下:
--enable-soEnable DSO capability provided by
mod_so. This module will be automatically enabled if you use the
--enable-mods-sharedoption.
相关文章推荐
- Nginx > 1.9.11 动态加载模块
- eCos模块动态加载支持——objloader组件
- Linux apache 单独编译 动态加载模块
- android内核模块动态加载
- 06.openssl动态模块加载
- 在Flex程序中动态加载模块
- freeSWITCH中动态加载模块
- Python模块的动态加载机制
- Python模块的动态加载机制
- Python动态加载模块以及模块类列表获取
- 动态模块加载和ELF Loader
- 加载调用这个函数的包下的所有模块 python函数
- python - 动态加载模块和类
- Ubuntu10.10下动态加载模块驱动的方法
- 详解webpack import()动态加载模块踩坑
- Linux 2.6内核的编译步骤及模块的动态加载
- Linux内核动态加载模块
- 动态加载apache模块
- python 在初始化运行环境时所有预加载模块