免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1657 | 回复: 0
打印 上一主题 下一主题

mod_backhand的安装 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-29 14:14 |只看该作者 |倒序浏览
The following is an excerpt from a vanilla install on a Linux machine.
# cd /var/tmp
# ls
apache_1.3.6.tar.gz
mod_backhand.tar.gz
# gzip -d < apache_1.3.6.tar.gz | tar xf -
# gzip -d < mod_backhand.tar.gz | tar xf -
# ls
apache_1.3.6
apache_1.3.6.tar.gz
mod_backhand-1.0
mod_backhand.tar.gz
# cd mod_backhand-1.0
# ./precompile ../apache_1.3.6/
Copying source into apache tree...
Copying sample cgi script and logo into htdocs directory...
Adding to Apache's Configuration.tmpl...
Nullifying extra shared libraries for Linux
Modifying httpd.conf-dist...
        creating insertion....
        integrating insertion with original...
Updating Makefile.tmpl...
Now change to the apache source directory:
        ../apache_1.3.6/
And do a ./configure...
If you want to enable backhand (why would you have done this is you didn't)
then add:  --enable-module=backhand --enable-shared=backhand
to your apache configure command.  For eaxmple, I use:
   ./configure --prefix=/var/backhand --enable-module=so \
         --enable-module=rewrite --enable-shared=rewrite \
         --enable-module=speling --enable-shared=speling \
         --enable-module=info --enable-shared=info \
         --enable-module=include --enable-shared=include \
         --enable-module=status --enable-shared=status \
         --enable-module=backhand --enable-shared=backhand
# cd ../apache_1.3.6
# ./configure --prefix=/var/backhand --enable-module=so \
         --enable-module=rewrite --enable-shared=rewrite \
         --enable-module=speling --enable-shared=speling \
         --enable-module=info --enable-shared=info \
              --enable-module=include --enable-shared=include \
         --enable-module=status --enable-shared=status \
          --enable-module=backhand --enable-shared=backhand
Configuring for Apache, Version 1.3.6
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
    o rewrite_module uses ConfigStart/End
+ using -lndbm for DBM support
      enabling DBM support for mod_rewrite
+ using -ldl for vendor DSO support
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/backhand
Creating Makefile in src/modules/standard
# make
(this is excluded for brevity)
# make install


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/43966/showart_409917.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP