On 2007/07/08 15:30, Chris Cappuccio wrote: > Stuart Henderson [EMAIL PROTECTED] wrote: > > > > Or use different ports and proxy them based on host headers rather > > than burning IP addresses (for some RIR you are expected not to use > > IP addresses for non-SSL virtual web hosting). > > > > I haven't checked, but hoststated should be able to do this. > > What software would you run on port 80 to break out the requests to the > various apache instances? Squid with accelerator mode seems like a massive > beast to use for this purpose. Any smaller apps?
I thought you may already be able to use hoststated but I was mistaken. The least intrusive way to add it there may be to provide a new action that matches on the Host: header and allows the table name to be over- ridden (obviously this is only any good with relay, not PF tables). Other than that, it looks like Apache mod_proxy (ProxyPass) can be configured per-virtual-host so that should work. http://www.apsis.ch/pound/ is another option but I don't know how well it works on OpenBSD. I think I've seen it run here, but I don't know if it really works well. Varnish can probably do this too, but doesn't run here at all. (It's a bit of an unusual app...)

