Hi there.
I've recently been trying to get the third-party module mod_bandwidth.so to function
in the
copy of apache-modssl I'm running, but I've had no luck.
Originally, I was running v 1.3.9 of mod_ssl. However, as it was installed as an RPM, I
couldn't recomile it with mod_bandwidth. I found that apache-1.3.12..... comes with
mod_bandwidth included, so I downloaded this, pulled out the mod_bandwidth.so file,
stuck it in
/usr/lib/apache/, and added it to the apache config file. However, when I did this, I
got the
following error in my error_log:
[warn] Loaded DSO lib/apache/mod_bandwidth.so uses plain Apache 1.3 DSO, this module
might
crash under EAPI!
I assumed this was because of differences between 1.3.9 and 1.3.12, so I downloaded
apache-mod_ssl-1.3.12.2.6.2-0.6.0.src.rpm (today), which I noticed doesn't come with
mod_bandwidth.so, and built and installed it. I used the mod_bandwidth.so file from
the main
apache rpm. and left the module reference in the config file. However, on restarting
the server
again, I got an almost identical error, as below:
[warn] Loaded DSO lib/apache/mod_bandwidth.so uses plain Apache 1.3 API, this module
might
crash under EAPI! (please recompile it with -DEAPI)
I was wondering if anyone has any ideas about what might be causing this - I'm afraid
I don't
understand the error. Is this module incompatible with mod_ssl? Is that why it's not
included?
Are there any alternatives (I just want to limit bandwidth by transfer rate on a
virtualhost
basis)? Is it the module which needs to be compiled with -deapi switch? Is there any
way to do
this only on the module, without having to do a source compile of modssl (all I really
want is
the .so file)?
The module is located at ftp://ftp.cohprog.com/pub/apache/module/mod_bandwidth.c
Many thanks for any advice.
Andrew Clark.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]