You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jamni <ja...@rediffmail.com> on 2002/08/20 14:09:09 UTC

How to dynamically add a module ..

Hi all

I am trying to add my own module in to the server but in vain.. I tried
using apxs but mod_so is not compiled with the system. Also i tried to
compile like below ..

./configure --add-module=/home2/mod_foo.c --enable-shared=foo

But this threw an error saying that 'cannot find the module foo' eventhough
it is successful in copying this file to src/modules/extra and its .so

Can anyone tell me by how all means i can add a module ? Preferably not
re-compiling the whole apache. Btw, i am trying this in apache 1.3.26

Thanks
Jamni

Re: How to dynamically add a module ..

Posted by Jeff Trawick <tr...@attglobal.net>.
"Jamni" <ja...@rediffmail.com> writes:

> Can anyone tell me by how all means i can add a module ? Preferably not
> re-compiling the whole apache. Btw, i am trying this in apache 1.3.26

If you don't have mod_so enabled, you must rebuild Apache to add
additional modules.  (But that is a quick task with 1.3 so what's the
problem :) ).  Make sure you enable mod_so and then use apxs to build
your own module.

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...