This forum is dedicated to Apache, Nginx, Lighttpd, Squid and other HTTP transport protocol related software

Advertisement


DNS query tools & Network tools (Ping & Traceroute)

Can't locate API module structure `mod_ssl' in file mod_ssl.so

Postby LaR3 » Wed Sep 02, 2009 8:21 pm

Recently I changed my apache from all modules statically built to shared built (to be able to enable/disable any one I want at any time I want).
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
LaR3
 
Posts: 19
Joined: Mon Aug 03, 2009 11:55 pm


Advertisement


Return to Apache, Nginx, Lighttpd and other web server software

Similar topics


Who is online

Users browsing this forum: No registered users and 0 guests

cron