Still, ssl module has to be compiled separately (--enable-ssl argument to configure script).
If the module is not loaded by default in httpd.conf after installation (if you compiled ssl after apache), SSL won't be activated.
I added the line
- Code: Select all
LoadModule mod_ssl modules/mod_ssl.so
in the modules section of httpd.conf, but apachectl configtest showed this error:
- Code: Select all
httpd: Syntax error on line 106 of /opt/apache-2.2.13/conf/httpd.conf: Can't locate API module structure `mod_ssl' in file /opt/apache-2.2.13/modules/mod_ssl.so: /opt/apache-2.2.13_1/modules/mod_ssl.so: undefined symbol: mod_ssl
This is because I used the wrong symbol. The correct one is ssl_module, and not mod_ssl.
This is the correct line to load ssl module in apache 2.2.13
- Code: Select all
LoadModule ssl_module modules/mod_ssl.so


News