Solved

mod_ssl + mod_bandwidth on Apache 1.3

Posted on 2007-11-14
4
778 Views
Last Modified: 2011-09-20
Dear experts,

I am trying to install mod_ssl and mod bandwidth on Apache 1.3.37.
I installed this way

1) configure mod_ssl
./configure --with-apache=/root/downloads/apache_1.3.37/    

2) configure and install apache
./configure --with-layout=Apache --prefix=/www --enable-module=rewrite --enable-shared=rewrite --enable-module=so
make
make install

3) configure & install ssl
 ./configure --with-apxs=/www/bin/apxs

At this pt, I get an error ./configure:Error: Installed Apache doesn't contain Extended API (EAPI)

If at 2) I change to include option "--enable-rule=EAPI" I get a warning when I start apache.

[warn] Loaded DSO libexec/mod_bandwidth.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
[Wed Nov 14 19:15:32 2007] [warn] Loaded DSO libexec/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)

Can mod_bandwidth exist together with mod_ssl? Is there anyway have both of them?

0
Comment
Question by:archerlogic
  • 3
4 Comments
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 500 total points
ID: 20280612
You have to configure mod_ssl before doing anything else Apache.
Set this environment variable:
CFLAGS=-DEAPI

R.K
0
 

Author Comment

by:archerlogic
ID: 20286080
I have configure mod_ssl before I configure/install apache in 1).

How to I set the environment variable?

export CFLAGS=-DEAPI?

What does this command do?
0
 

Author Comment

by:archerlogic
ID: 20286757
I recompile php and it stops giving me the error.
But recompiling mod_bandwidth with the -DEAPI doesn't work still.

#export CFFLAGS=-DEAPI
# /www/bin/apxs -c mod_bandwidth.c -o mod_bandwidth.o
gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DUSE_HSREGEX -DEAPI -fpic -DSHARED_MODULE -I/www/include  -c mod_bandwidth.c
gcc -shared -o mod_bandwidth.so mod_bandwidth.o -o mod_bandwidth.o
# service apache start
[Thu Nov 15 12:39:35 2007] [warn] Loaded DSO libexec/mod_bandwidth.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
0
 

Author Comment

by:archerlogic
ID: 20286808
oh stupid me! I load the wrong bandwidth file.

It works now. thanks
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
htaccess restrict subdomain 4 84
Configure a Local PHP Interpreter for Phpstorm 2 184
Ways to assess https/ssl websites 3 84
whm high memory usage in processes 7 69
We've all had that page pop up telling us there is a problem with the certificate and some of us continue on anyways and others run away to a safer competing site.  But what to do when you get the error - is it your problem or theirs?  What can you …
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now