Solved

Problem configuring mod_ssl

Posted on 2011-03-10
6
988 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNS Question 7 64
local dns 2 152
apache and php 3 110
How to access multiple local hosts from phone on network 5 85
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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 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