Below are the steps to install an apache module without recompiling Apache (Easyapache) :
===========
cd /home/cpeasyapache/src/httpd-2.x.x/modules/mappers/
Make sure the module you need is in uncompiled format (mod_module.c).
Then from command prompt run:
/usr/local/apache/bin/apxs -c mod_module.c
Example : /usr/local/apache/bin/apxs -c mod_imagemap.c
This will create the DSO in /home/cpeasyapache/src/httpd-2.x.x/modules/mappers/.libs/ folder.
Copy the mod_module.so file to /usr/local/apache/modules/ file
Load the module and enable it in Apache configuration file.
===========
You can check whether module is installed or not by using the below command :
/usr/local/apache/bin/apachectl -t -D DUMP_MODULES
===========
cd /home/cpeasyapache/src/httpd-2.x.x/modules/mappers/
Make sure the module you need is in uncompiled format (mod_module.c).
Then from command prompt run:
/usr/local/apache/bin/apxs -c mod_module.c
Example : /usr/local/apache/bin/apxs -c mod_imagemap.c
This will create the DSO in /home/cpeasyapache/src/httpd-2.x.x/modules/mappers/.libs/ folder.
Copy the mod_module.so file to /usr/local/apache/modules/ file
Load the module and enable it in Apache configuration file.
===========
You can check whether module is installed or not by using the below command :
/usr/local/apache/bin/apachectl -t -D DUMP_MODULES