How to add/activate a module to apache?

How to add/activate a module to apache?

Post by Till » Wed, 06 Feb 2002 21:57:47



add a module to a current configuration in apache?

i want to activate the mod_so.c module to my current configuration but it
doesn't seem to work
i just did the ./configure again and activated the mod_so module, did the
install again but when i do httpd -l to list the modules mod_so isn't in it

 
 
 

How to add/activate a module to apache?

Post by Tulan W. H » Thu, 07 Feb 2002 04:07:26


mod_so need to be in httpd for adding  other modules.
you need to ./configure --enable-module=so for it to be included.


> add a module to a current configuration in apache?

> i want to activate the mod_so.c module to my current configuration but it
> doesn't seem to work
> i just did the ./configure again and activated the mod_so module, did the
> install again but when i do httpd -l to list the modules mod_so isn't in

it

 
 
 

1. Problems adding Apache JServ module to Apache Web Server as a Dynamic Shared Object

Please someone help!!!

I am trying to add Apache Jserv as a dynamic
shared object to the Apache Web Server 1.3.9.

I have installed the binary Apache Web Server and
checked that it has DSO support enabled by
looking for mod_so.c when I ran httpd -l from
within the Apache bin directory.

Apache is running fine (I get a congratulations
page when I go to http://hostname with a web
browser).

I ran the configure script for Apache JServ with
the following options

*************************************
--enable-shared=max
--prefix=/cimage/jserv
--with-JSDK=/cimage/JSDK2.0/jsdk.jar
--with-apxs=/usr/local/apache/bin/apxs
**************************************
I then ran make ; make install.  This created the
docs directory in /cimage/jserv and
ApacheJServ.jar and mod_jserv.so
in /cimage/apache/libexec

I then restarted apachectl which complained about
the line which loads mod_jserv.so

******************************************
apachectl restart: httpd not running, trying to
start
Syntax error on line 238
of /cimage/apache/conf/httpd.conf:
Cannot load /cimage/apache/libexec/mod_jserv.so
into server: ld.so.1: /cimage/ap
ache/bin/httpd:
fatal: /cimage/apache/libexec/mod_jserv.so:
unknown file type
apachectl restart: httpd could not be started
*******************************************

However when running file against mod_jserv.so it
says 'current ar archive, not a dynamic
executable or shared object'

What have I done wrong?

Thanks in advance

Fran

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Problems getting IDE CDROM recognized

3. Add a module into existing Apache build?

4. C low level

5. Adding a module to Apache 1.3.12

6. Lilo problem!

7. Adding custom module to Apache build

8. Controlling I/O Block Size

9. Adding modules to apache

10. adding a module - do I recompile Apache?

11. Apache won't restart after adding a DSO module

12. add a module to apache

13. adding modules to apache changes conf dir?