• compiled apache module doesn't show.

    From The Derfer@110:300/1.1 to All on Wed Jun 9 23:13:40 2010
    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.

    --- MBSE BBS v0.95.5 (GNU/Linux-x86_64)
    * Origin: http://groups.google.com (110:300/1.1@linuxnet)
  • From J G Miller@110:300/1.1 to All on Thu Jun 10 00:00:10 2010
    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.

    --- MBSE BBS v0.95.5 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (110:300/1.1@linuxnet)
  • From Joe@110:300/1.1 to All on Thu Jun 10 08:45:57 2010
    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@netfront.net ---

    --- MBSE BBS v0.95.5 (GNU/Linux-x86_64)
    * Origin: none (110:300/1.1@linuxnet)
  • From Nico Kadel-Garcia@110:300/1.1 to All on Thu Jun 10 14:22:50 2010
    On Jun 10, 2:45=A0am, Joe <m...@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=3D/misc/apps/apache --enable-so --enable-mods- shared=3D"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. =A0 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 l=
    oaded
    at start time.
    LoadModule modulename in httpd.conf (or whatever your distro calls it.)

    -Joe

    --- news://freenews.netfront.net/ - complaints: n...@netfront.net ---- Hi=
    de 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?

    --- MBSE BBS v0.95.5 (GNU/Linux-x86_64)
    * Origin: http://groups.google.com (110:300/1.1@linuxnet)