Thanks to Tim we’ve got a simple workaround to get our own compiled Apache version 2.2.6 running on Leopard with a proper SSL module. The solution is to just use the original mod_ssl module from the original installation. The original mod_ssl module can be found in /usr/libexec/apache2/.
To use this original module the best way possible use these commands:
sudo mv mod_ssl.so mod_ssl.so.old
sudo ln -s /usr/libexec/apache2/mod_ssl.so mod_ssl.so
Restart the server, uncomment the mod_ssl module in your httpd.conf and restart the server to see it working.
You could also copy the module from its original location but I choose this method because it will benefit from any update that might happen with a security update from Apple.
I can only hope it will also work with a new version of Apache, but we’ll have to wait and see.



8:46 pm
Thanks for the quick answer. I am using a Mac book pro. There are no /usr/local/apache2 directory
8:51 pm
In addition to the above post, the mod_ssl problem only happen after I install PHP5.2.5 Prior to PHP, I was able to start and stop Apache 2.26 fine with mod_ssl.so module loaded. After installing PHP, Apache server broke whenever mod_ssl.so is loaded..
8:58 pm
That is strange, never seen that one before. Did you compile PHP yourself as well ?
9:33 pm
Yes ..I compiled PHP myself according mostly from your site installation. BTW your site is a life saver.. very informative and helpful..
Apparently there is a difference between where Leopard put the httpd.conf file versus Tiger. Tiger used etc/httpd and Leopard used etc/apache2.. I am pulling my hair our trying to figure out why there are 2 directories for httpd.conf and which one is in effect. My Laptop comes with Tiger which I upgraded to Leopard. Have no idea that it decides to put new layout on and not cleaning up the old one
I have no clue where Leopard original mod_ssl.so resided. It probably got overwritten since I use the Leopard config.layout as specified in your “Compiling Apapche on Leopard” post instead of using the diymacserver layout..