From: The Derfer on
Even after restarting apache with "apachectl -k stop/start" a compiled
mod_proxy
module does not appear when I obtain a listing using "apachectl -l"

This is a RH Linux 4 box, uname output is:
Linux boxname 2.6.18-92.1.17.0.2.el5 #1 SMP Tue Nov 18 05:20:06 EST
2008 x86_64 x86_64 x86_64 GNU/Linux

First I did:
../configure --prefix=/misc/apps/apache --enable-so --enable-mods-
shared="proxy"

from within a source directory:
/misc/apps/INSTALL_SOFTWARE/Apache_2.2.15/httpd-2.2.15

then:
make
then:
make install

Yet neither "apachectl -l" nor "httpd -l" list the module mod_proxy
(or mod_proxy.c) even after
a restart of the server itself. What am I doing wrong?
Thanks in advance to anyone who can help.
From: J G Miller on
On Wednesday, June 9th, 2010 at 14:13:40h -0700, The Derfer asked:

> Yet neither "apachectl -l" nor "httpd -l" list the module mod_proxy
>(or mod_proxy.c) even after a restart of the server itself.

Presumably you need to add a load mod_proxy module command to
the relevant apache2 configuration file.
From: Joe on
The Derfer wrote on 06/09/10 14:13:

> Even after restarting apache with "apachectl -k stop/start" a compiled
> mod_proxy
> module does not appear when I obtain a listing using "apachectl -l"
>
> This is a RH Linux 4 box, uname output is:
> Linux boxname 2.6.18-92.1.17.0.2.el5 #1 SMP Tue Nov 18 05:20:06 EST
> 2008 x86_64 x86_64 x86_64 GNU/Linux
>
> First I did:
> ./configure --prefix=/misc/apps/apache --enable-so --enable-mods-
> shared="proxy"
>
> from within a source directory:
> /misc/apps/INSTALL_SOFTWARE/Apache_2.2.15/httpd-2.2.15
>
> then:
> make
> then:
> make install
>
> Yet neither "apachectl -l" nor "httpd -l" list the module mod_proxy
> (or mod_proxy.c) even after
> a restart of the server itself. What am I doing wrong?
> Thanks in advance to anyone who can help.


In the Apache configuration, you need to add the module so that it gets loaded
at start time.
LoadModule modulename in httpd.conf (or whatever your distro calls it.)

-Joe


--- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
From: Nico Kadel-Garcia on
On Jun 10, 2:45 am, Joe <m...(a)mailinator.com> wrote:
> The Derfer wrote on 06/09/10 14:13:
>
>
>
>
>
> > Even after restarting apache with "apachectl -k stop/start" a compiled
> > mod_proxy
> > module does not appear when I obtain a listing using "apachectl -l"
>
> > This is a RH Linux 4 box, uname output is:
> > Linux boxname 2.6.18-92.1.17.0.2.el5 #1 SMP Tue Nov 18 05:20:06 EST
> > 2008 x86_64 x86_64 x86_64 GNU/Linux
>
> > First I did:
> > ./configure --prefix=/misc/apps/apache --enable-so --enable-mods-
> > shared="proxy"
>
> > from within a source directory:
> > /misc/apps/INSTALL_SOFTWARE/Apache_2.2.15/httpd-2.2.15
>
> > then:
> > make
> > then:
> > make install
>
> > Yet neither "apachectl -l" nor "httpd -l" list the module mod_proxy
> > (or mod_proxy.c) even after
> > a restart of the server itself.   What am I doing wrong?
> > Thanks in advance to anyone who can help.
>
> In the Apache configuration, you need to add the module so that it gets loaded
> at start time.
> LoadModule modulename in httpd.conf (or whatever your distro calls it.)
>
> -Joe
>
> --- news://freenews.netfront.net/ - complaints: n...(a)netfront.net ---- Hide quoted text -
>
> - Show quoted text -

Look in /etc/httpd/conf.d for configuration files that can be copied
to automatically load the module, if available.

And why are you hand-building Apache rather than using, or building,
an RPM that will auto-configure a lot of this for you?