httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Sutton <>
Subject Re: solaris HUP blues
Date Sat, 26 Jul 1997 22:23:03 GMT
On Fri, 25 Jul 1997, Dean Gaudet wrote:
> I'm getting busy at work now and I may not be able to finish this opus.
> But yes the only way that I can see right now to fit hashed vhosts in
> (quite desirable from David Hankin's numbers) is to either:
> - include all the current (broken) code plus the hashed vhost code and
> implement a heuristic that determines when the hashed stuff can be used
> - rewrite the code and the configuration interface.
> As a reminder, the rewrite that we all seemed happy with was something
> along these lines:
> <PortMatch 80>
>     <IpMatch a.b.c.d>
> 	# a MapDefault indicates if no match has been found yet in this block
> 	# then go to serverconf foo
> 	MapDefault foo
>     </IpMatch>
>     <IpMatch w.x.y.z>
> 	# if Host: matches * or then to to serverconf bar
> 	MapName bar *
> 	# if the url path matches /bar then go to serverconf bar
> 	MapPath bar /bar
> 	MapName ick *
> 	MapPath ick /ick
>     </IpMatch>
> </PortMatch>

Can you remind me why IP's are matched _inside_ port sections.  Surely a
vhost is defined by an IP:port pair, so can't you simply use a single
section to match this pair, e.g.

  <AddressMatch a.b.c.d:80>


View raw message