Solved

mod_ssl + mod_bandwidth on Apache 1.3

Posted on 2007-11-14
4
776 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
#SSL #TLS #Citrix #HTTPS #PKI #Compliance #Certificate #Encryption #StoreFront #Web Interface #Citrix XenApp
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

706 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

18 Experts available now in Live!

Get 1:1 Help Now