Solved

mod_ssl + mod_bandwidth on Apache 1.3

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP: Insert Data into MySQL 5 68
Does SSL have any bearing on connections via http on port 80? 3 66
ignore other .htaccess 2 80
HTTPS over a limited internet connection 6 76
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 stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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