<body>

kenshou

天空没有飞过的痕迹,但我已经努力飞过……

« Home | Next » | Next » | Next » | Next » | Next » | Next » | Next » | Next » | Next » | Next »

(转载)apache2的安装



tar -zvxf httpd-2.0.55.tar.gz
cd httpd-2.0.55
./configure --prefix=/opt/bokee/httpd --enable-module=so --enable-rewrite=shared --enable-proxy --with-mpm=worker --with-threads=yes
make
make install



以上安装即可。
备注:
./configure --prefix=/opt/bokee/httpd --enable-module=so --with-mpm=worker --with-threads=yes
(--enable-module=so为和tomcat整合用; --with-mpm=worker是2.0 版中全新的支持多线程和多进程混合模型的MPM)

apache动态编译mod_rewrite模块

/opt/bokee/httpd/bin/apxs -ci /opt/bokee/soft/httpd-2.0.55/modules/mappers/mod_rewrite.c

转载于:http://hi.baidu.com/hrhero/blog/item/1447561ce29e958e86d6b65d.html

标签:

leave a response