Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Updated question

Older question

Is mod_ssl not for versions of Apache over 1.3.41? I've got version 2.2.17 (currently latest)

http://www.modssl.org/

Original question

./configure --with-apxs=/usr/local/apache/bin/apxs
Configuring mod_ssl/2.8.30 for Apache/1.3.39
./configure:Error: Installed Apache doesn't contain Extended API (EAPI)

That's strange because my Apache version is 2.2.17

/etc/init.d/httpd -v
Server version: Apache/2.2.17 (Unix)
share|improve this question

1 Answer 1

up vote 1 down vote accepted

No, Apache2 contains an own mod_ssl, you can compile it in by specifying --enable-ssl on the configure command when compiling Apache.

share|improve this answer
    
You're right, but if I don't want to recompile Apache, there doesn't appear to be a configure file in {APACHE_INSTALLATION}/modules/ssl –  gAMBOOKa Feb 17 '11 at 19:08
    
I've recompiled apache with --enable-ssl, i still don't see mod_ssl.so under modules –  gAMBOOKa Feb 17 '11 at 21:09
    
"under modules" - did you mean folder? 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. –  Lekensteyn Feb 17 '11 at 21:19
    
Is it possible to enable mod_ssl without recompiling apache. (please answer with more than just "Yes"...) –  user84496 Jun 14 '11 at 9:07
    
It's technically possible to enable mod_ssl if the Apache server supports DSO. You will need ssl_module (mod_ssl.so) that was compiled for your server. Put it in the right directory (typically /usr/local/apache2/modules for custom builds) and add the line LoadModule ssl_module modules/mod_ssl.so to your httpd.conf. –  Lekensteyn Jun 14 '11 at 9:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.