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.

I've installed (from source) Apache 1.3 on a CentOS 5.2 and I'm trying to get SSL to work.

I used

--enable-module=so

then added

AddModule mod_so.c

LoadModule ssl_module /usr/lib/httpd/modules/mod_ssl.so

to httpd.conf.

Now I'm getting this error from configtest:

Syntax error on line 44 of /www/conf/httpd.conf:

Cannot load /usr/lib/httpd/modules/mod_ssl.so into server: /usr/lib/httpd/modules/mod_ssl.so: undefined symbol: ap_set_deprecated

Thanks for any help.

share|improve this question

migrated from stackoverflow.com Feb 10 '12 at 16:35

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 0 down vote accepted

mod_ssl.so is making a a request for the symbol ap_set_deprecated which is not available with the 1.3 but with 2.0 (I just downloaded the sources and checked).

You'll need to rebuild mod_ssl.so. Download the sources here : http://www.modssl.org/source/mod_ssl-2.8.31-1.3.41.tar.gz . This doesn't make any calls to ap_set_deprecated. (I checked this too).

-- Ram

share|improve this answer

You're mixing and matching versions willy nilly. Apache 1.3 needs to be patched to support SSL. You will need either Apache-SSL or Apache+EAPI patches and mod_ssl.

If you care about security, you should consider upgrading to Apache 2, which natively supports SSL and has a lot of security bug fixes.

I appreciate that it may be difficult to port your app to Apache 2, but it should be worth it in the long run.

share|improve this answer
    
It's a nightmare situation, I agree :( –  aidan Apr 23 '09 at 14:52

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.