On Apr 24, 2006, at 4:39 PM, Geoffrey Young wrote:

so, you want something like this eventually

  Listen 0.0.0.0:8530 nntp
  AcceptFilter nntp none
  <VirtualHost _default_:8530>

I think it may be time to re-think the logic of this configuration snippet in the perl-framework, since the directives contained in it are in the process of growing some additional options that may be varied across tests. For instance, the AcceptFilter directive and the protocol argument to Listen, but also the ServerName with the UseCanonicalName and UseCanonicalPhysicalPort.

Perhaps we're looking for a more generic way to specify a virtual host, like, in the module source file or conf.in,

<VirtualHost some_name [servername] [protocol]>
    ...stuff...
</VirtualHost>

Which would translate to:

Listen 0.0.0.0:aPort [protocol]

<VirtualHost _default_:aPort>
    ServerName [servername]? [servername]:aPort : aServername:aPort
    ...stuff...
</VirtualHost>

Where some_name would play the same role as today, and the new parameters optional for backwards compatibility.

Something like that? Perhaps more optional tuning knobs?

S.

--
[EMAIL PROTECTED]            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to