我有一个运行和编译从源Apache安装启用共享模块。
我现在想使用mod_proxy但在我build立我的Apache服务器时,我不知道我会需要这个,我没有指定--enable-mod_proxy=shared和--enable-mod_proxy_http=shared当我跑./configure --enable-mod_proxy_http=shared ./configure 。
在这个页面上,它表明我可以这样做:
$ ./configure --prefix=/path/to/install --enable-foo=shared $ make install
这只会build立指定的模块,并将其安装到--prefixpath,或将重build所有的Apache和重新部署?
看来, mod_proxy/mod_proxy_http与apxs编译工作得很好:
apxs -i -c mod_proxy.c proxy_util.c apxs -i -c mod_proxy_http.c