apache 编译 rewrite 模块
2011-06-20 14:46
363 查看
如果你的apache已经安装好了,现在只想编译出mod_rewrite.so模块,网上有很多方法,但如果编译结果提示下边的错误,可以尝试用后边的方法来解决。
Warning! dlname not found in /usr/local/apache2/modules/mod_rewrite.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_rewrite.so
chmod: cannot access `/usr/local/apache2/modules/mod_rewrite.so': No such file or directory
apxs:Error: Command failed with rc=65536
vi /usr/local/apache2/build/libtool
build_libtool_libs=no
build_libtool_libs=yes
fast_install=neel***
fast_install=yes
dlopen_support=unknown
dlopen_support=yes
dlopen_self=unknown
dlopen_self=yes
dlopen_self_static=unknown
dlopen_self_static=yes
host_alias=
host_alias=i686-pc-linux-gnu
保存后重新编译
cd /usr/local/src/httpd-2.2.9/modules/mappers
/usr/local/apache2/bin/apxs -c mod_rewrite.c
/usr/local/apache2/bin/apxs -i -a -n rewrite mod_rewrite.la
Warning! dlname not found in /usr/local/apache2/modules/mod_rewrite.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_rewrite.so
chmod: cannot access `/usr/local/apache2/modules/mod_rewrite.so': No such file or directory
apxs:Error: Command failed with rc=65536
vi /usr/local/apache2/build/libtool
build_libtool_libs=no
build_libtool_libs=yes
fast_install=neel***
fast_install=yes
dlopen_support=unknown
dlopen_support=yes
dlopen_self=unknown
dlopen_self=yes
dlopen_self_static=unknown
dlopen_self_static=yes
host_alias=
host_alias=i686-pc-linux-gnu
保存后重新编译
cd /usr/local/src/httpd-2.2.9/modules/mappers
/usr/local/apache2/bin/apxs -c mod_rewrite.c
/usr/local/apache2/bin/apxs -i -a -n rewrite mod_rewrite.la
相关文章推荐
- 单独编译apache的rewrite模块--收藏
- Apache动态编译安装模块mod_rewrite
- Apache动态编译安装模块mod_rewrite
- apache添加模块rewrite(伪静态页)(不重新编译)rewrite伪静态页
- apache安装/编译mod_rewrite模块
- Ubuntu下Apache开启rewrite模块
- 使用apache模块rewrite_module
- 使用Apache的模块:rewrite模块语法格式
- Apache 模块用C++ 编译时, AP_INIT_TAKE1 宏的问题
- 在Apache中使用mod_rewrite模块重写URL
- Apache模块详解-mod_rewrite重写模块
- Apache在Windows下使用Mod_rewrite模块
- WP3.3.1的服务器环境要求并启用Apache的mod_rewrite模块
- apache python 模块mod_wsgi的编译安装
- apache缺少mod_rewrite.so,重新编译出mod_rewrite.so的方法
- apache静态编译和动态编译的理解以及用apache扩展模块的安装
- Apache在Windows下使用Mod_rewrite模块
- Apache在Windows下使用Mod_rewrite模块
- Debian/Ubuntu下安装Apache的Mod_Rewrite模块的步骤分享
- apache的rewrite_module模块加载