Hi Mike,

the problem you are observing has a simple explanation. If you define 
-DSSL as argument for apachectl or configtest or httpd the according 
parts included in
<IfDefine SSL> .. </IfDefine> are executed. If not defined, they are 
ignored. Your LoadModule and AddModule statements are properly nested 
with IfDefines, but your VirtualHost for SSL (including mod_ssl 
directives like SSLEngine) seems not to be enclosed by IfDefine or 
IfModule.
If you start your httpd with -DSSL this is no problem, because mod_ssl 
is loaded and interprets these directives. If you don't give -DSSL (as 
in your call of configtest) the Apache httpd does not load mod_ssl and 
does not understand directives like SSLEngine.
To get rid of the error, you should encapsulate all directives that are 
available only  if a certain module is loaded into Apache with IfDefine 
or IfModule statements. For examples of this have a look in the 
standard httpd.conf in the conf directory of your Apache installation.

> The commented lines have no effect in or out.  This was occuring long before
> these line comments were added.  I just added those recently to find things
> easier when editing the file to try with this issue.  I added these comments
> after the problem started...they where not there originally.  Without the
> comment lines, it simply shifts the line # where the error occurs.  I have
> always had
> > LoadModule ssl_module         modules/libssl.so
>  in my httpd.conf but I do not have
> AddModule mod_ssl.c.
> However, upon adding this line AddModule mod_ssl.c, there was no effect.
> Configtest gives the same error on the same line #.
> 
> Is there some other way to restart apache when mod_ssl is installed.  After
> all, you use apachectl startssl instead of apachectl start.  Is there an
> apachectl restartssl?
> 
> Thanks
> Mike


With best regards

Georg Oppenberg
Internet Engineer Web Hosting

UUNET - a WorldCom Company
UUNET Deutschland GmbH
Sebrathweg 20
44149 Dortmund
Germany

Tel. +49 231 972 2280
Fax. +49 231 972 1180
[EMAIL PROTECTED]
http://www.worldcom.com/de/



______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to