【问题标题】:Build apache 1.3 modules (in particular mod_rewrite and mod_alias)构建 apache 1.3 模块(特别是 mod_rewrite 和 mod_alias)
【发布时间】:2013-03-04 12:36:09
【问题描述】:

出于学习目的,我必须安装一个 1.3 版本的 apache 网络服务器。 问题是我不知道如何构建模块,而且在安装目录中我看不到任何“模块”文件夹。

我想用一些我需要的模块重新编译和重新安装服务器,比如 mod_rewrite(支持 LDAP)和 mod_alias...你能告诉我该怎么做吗?

不幸的是,文档主要针对 2.x 版本...

【问题讨论】:

    标签: apache compilation apache-modules


    【解决方案1】:

    当您运行 ./configure 时,您可以使用 --enable-module 和 enable-sahre 启用模块,例如:

    ./configure --enable-module=rewrite --enable-shared=rewrite
    

    有关 apache 随附模块的完整列表,请查看配置帮助

    ./configure --help
    

    此外,如果您尝试在现代 linux 系统上编译 apache,这篇博文提供了一些有用的建议。 http://www.cambus.net/compiling-apache-1.3.x-on-modern-linux-distributions/

    【讨论】:

      猜你喜欢
      • 2010-10-22
      • 2011-08-14
      • 1970-01-01
      • 2014-09-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-01
      • 2016-10-15
      相关资源
      最近更新 更多