Sunday, January 23, 2011

Trying to install mod_proxy in Apache-Httpd-2.2.15

Hello, I have spent the afternoon trying to install the mod_proxy module into apache.

I have tried

./configure --prefix=/opt/apache2 --enable-proxy --enable-proxy-http

./configure --prefix=/opt/apache2 --enable-module=proxy

After it finishes installing, navigating to /opt/apache2/modules only shows one file: httpd.exp.

It seems that the module is not being installed.

Any help is appreciated.

Thanks.

  • ./configure --enable-proxy=static will build mod_proxy linked statically into the resulting httpd executable; this is the default if you specify ./configure --enable-proxy. ./configure --enable-proxy=shared is necessary to build the module as a loadable shared library.

    Similarly, ./configure --enable-modules=proxy will link mod_proxy statically into the executable, while ./configure --enable-mods-shared=proxy will cause it to be built as a shared library. See the Apache configure documentation for more details.

    From ephemient

0 comments:

Post a Comment