Solved

mod_ssl + mod_bandwidth on Apache 1.3

Posted on 2007-11-14
4
788 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
So you need a certificate so you can offer SSL encryption.  But which one should you get?  There are so many choices out there! Here is a generic overview of the main types of SSL certificates sold by the majority of commercial Certification Auth…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

628 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