httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: Listen directive, port specification
Date Thu, 06 Apr 2006 17:30:51 GMT
rian wrote:
> On Wed, 2006-04-05 at 19:10 -0700, Paul Querna wrote:
>> Either method can work. mod_ssl currently will pick up anything with the 
>> protocol "https".
>>
>> I personally like using
>> <VirtualHost *:25>
>> Protocol smtp
>> </Vh
>>
>> Rather than each module introducing a slightly different directive for 
>> their protocol. (For example SmtpProtocol on, SSLEngine on, etc)
> 
> Well hey I like that too but isn't the "Protocol" directive deprecated?
> While this is cool:
> 
> Listen 6025 smtp
> 
> I don't think a protocol specifier should be in a listen directive (or
> at least the preferred way to specify a protocol).

Ah, but you are missing the last major piece of the puzzle: Accept Filters.
http://httpd.apache.org/docs/2.2/mod/core.html#acceptfilter

These must be a 1-1 mapping of protocols to listening ports.  There 
isn't any way to push the knowledge of the protocol down to the OS 
without this mapping.

Mime
View raw message