Solved

Problem configuring mod_ssl

Posted on 2011-03-10
6
1,019 Views
Last Modified: 2012-05-11
OS= Linux
I have installed apache 2.2.17
Installed openssl-1.0.0d
And tried to configure mod_ssl-2.8.30-1.3.39 using command -

./configure --with-apache=../httpd-2.2.17 --with-ssl=../openssl-1.0.0d --prefix=/apps/elsdev/apache

It gave me error -

Configuring mod_ssl/2.8.30 for Apache/1.3.39
./configure:Error: Cannot find Apache 1.3 source tree under ../httpd-2.2.17
./configure:Hint:  Please specify location via --with-apache=DIR

why mod_ssl is looking for older apache version while I am using 2.2.17?
0
Comment
Question by:Raz
[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
  • 2
6 Comments
 
LVL 10

Expert Comment

by:dfke
ID: 35093254
Latest mod ssl 2.8.31 is for Apache 1.3.41

I think you must change the Apache version in /custombuild/configure/ap1/configure.apache_ssl:

to

--with-apache=../apache_1.3.39 \

then try again

0
 
LVL 6

Expert Comment

by:Hernan Ruggiano
ID: 35093269
Mod_ssl is tied to the apache version, so basically you just downloaded the wrong package.

http://www.octaldream.com/~scottm/talks/ssl/mod_ssl.html

Download the right package, and with that sintax you should be ready to go.

Regards,
Hernan
0
 

Author Comment

by:Raz
ID: 35093385
Hi Dfke & Hruggian,

Thanks for the suggestions.
=======================================
Dfke,

As you said,

Latest mod ssl 2.8.31 is for Apache 1.3.41
But I am using Apache 2.2.17
So, does it mean the there is no compatibl mod_ssl for Apache 2.2.17?
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

Author Comment

by:Raz
ID: 35093400
Dfke,

You have suggested to change the version in some file.
I am unable to figure it out. Could you please specify which needs to be modified and where?
Is it in apache home or mod_ssl home?

Thanks in advance.
0
 

Author Comment

by:Raz
ID: 35093465
I have found in the below link that we can use --force to make the mod_ssl compatible with apache 2.2.17 forcibily. Is it safe to do that?

I tried it as below. It didnt work.

$ ./configure --force --with-apache=../httpd-2.2.17 --with-ssl=../openssl-1.0.0d --prefix=/apps/elsdev/apache
Configuring mod_ssl/2.8.30 for Apache/1.3.39
./configure:Error: Cannot find Apache 1.3 source tree under ../httpd-2.2.17
./configure:Hint:  Please specify location via --with-apache=DIR
 
0
 
LVL 10

Accepted Solution

by:
dfke earned 500 total points
ID: 35106531
I think your best shot is to recompile Apache as the package has it's own mod_ssl rather than trying to add mod_ssl later on. You can compile it in by specifying --enable-ssl on the configure command when compiling Apache.

./configure --enable-ssl --enable-so

If you've added --enable-ssl, it will be compiled in statically. If you want a DSO (Dynamic Shared Object), add --enable-mods-shared='ssl' to the configure command.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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 …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

623 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