Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

mod_ssl + mod_bandwidth on Apache 1.3

Posted on 2007-11-14
4
Medium Priority
?
790 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 1500 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

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

Question has a verified solution.

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

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

715 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