Apache was compiled as below

../configure --with-ldap --enable-mods-shared=3D"all ssl ldap cache proxy
authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock
disk_cache" --prefix=3D/opt/apache-2.2.4

Httpd -l gives below
[root@rh4_109 bin]# httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

How do I compile so that it does not load mod_ssl automatically and
loads only if httpd.conf is configured.

Surprisingly there are no error logs even at debug level.

Thank you so very much for the kind help.

-----Original Message-----
From: owner-modssl-users@modssl.org
[mailtowner-modssl-users@modssl.org] On Behalf Of Omar W. Hannet
Sent: Friday, June 15, 2007 4:13 PM
To: modssl-users@modssl.org
Subject: Re: Apache with mod_ssl

Saikat Saha wrote:
> We have apache 2.2.4 compiled with all modules but commented out all=20
> load modules. Do not have anything in httpd.conf file to state that

this=20
> is https. But when I start apache, it tries to goto https and prompts=20
> for pass phrase. How does apache determine that this is https whereas=20
> this is actually a http server.


Perhaps mod_ssl is a compiled-in module. Run 'httpd -l' to check this.

> After I enter a passphrase, it shows=20
> successful but the server never starts up. Can someone please help?


The reason probably can be found in Apache's error_log file.

> Also can apache support both http and https at different ports at the=20
> same time?


Yes. The defaults are port 80 for http and port 443 for https.

--=20
Omar W. Hannet
http://www.allez-oop.net/
__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org