LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache2 and mod_ssl as a DSO (https://www.linuxquestions.org/questions/linux-software-2/apache2-and-mod_ssl-as-a-dso-261374/)

Rumblefish 12-01-2004 12:01 PM

Apache2 and mod_ssl as a DSO
 
I'm at my wit's end here. I'm trying to install Apache2 and mod_ssl as a dynamic shared object rather than static. The documentation I've seen says you CAN do it, but nothing I can find tells me HOW to do it. I've tried:

Code:

/apache/source/dir# ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all
I also tried:

Code:

/apache/source/dir# ./configure --prefix=/usr/local/apache2 --enable-module=ssl
Neither of these built mod_ssl as a DSO, although they both appear as if they should have.

I have OpenSSL installed properly -- the installation worked beautifully with Apache 1.3. I had it running under Apache2 as a static object, but I want to make Apache as basic as possible and use DSOs. The Apache version is 2.0.52.

Rumblefish 12-01-2004 03:25 PM

Trial and error resulted in success. The following had to be done:

Code:

/apache/source/dir# ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-modules=ssl --enable-mods-shared=all
Then it was a matter of pointing the ssl.conf file to the correct key and certificate.


All times are GMT -5. The time now is 08:42 AM.