httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] SSL or not SSL apache
Date Wed, 04 Jun 2003 11:12:11 GMT
>-----Original Message-----
>From: SanZ []
>I'm using apache 2.0.45 with two modules built by me (2 mods 
>and 1 filter).
>Is there a way to set apache act normal with the modules when 
>using port 80, 
>and when use the ssl to do not use them but act as apache SSL standard?

You obviously can't do this with a single instance of apache since the
modules are loaded into the apache binary at runtime. In other words,
you can't use "LoadModule" in a VirtualHost - it can only be used at
server config level.

The only way to achieve what you want is to run two separate instances
of apache. That is, with two separate config files, one for HTTP and one
for SSL. You can start them using the -f switch, e.g.

./httpd -f /path/to/http/config
./httpd -f /path/to/ssl/config

The HTTP config loads the modules you want and the SSL config doesn't.

So long as the two apaches don't try to bind to the same IP:port, this
should work. This shouldn't be a problem since HTTP will be on port 80
and SSL will be on port 443. Probably you should use separate log files
as well...

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.  

>thanks SZ
>Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, 
>l'antivirus, il filtro Anti-spam
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message