Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot start apache server with mod_ssl

Status
Not open for further replies.

alan123

MIS
Oct 17, 2002
149
US
I compiled apache-1.3.27, mod_ssl-2.8.12-1.3.27 and openssl-0.9.7 without any problem, I can run "apache start" successfully, however if I run "apache startssl" to start secure server, it gives me error message:
========
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not incl
uded in the server configuration
/usr/local/apache/bin/apachectl startssl: httpd could not be started
========

Can anyone tell me what causes that problem?

Appreciated in advance.
 
I found this response to a similar problem:

I figured out what was wrong (on my implementation anyway). All I did was add:

Code:
<IfDefine SSL>
    LoadModule ssl_module libexec/libssl.so
</IfDefine>
to the end of the LoadableModule section of the httpd.conf and:
Code:
<IfDefine SSL>
    AddModule mod_ssl.c
</IfDefine>
to the end of the AddModule section of the httpd.conf.

The original URL is long and ugly:
--
JR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top