On 3/2/2010 6:51 AM, Keith wrote:

I've looked through the mailing lists and at Google but I need some help
on my confirmation.

I've got some web servers that I am moving behind pound any they have
about 300 virtual sites on each of them so I am keen to keep the pound
configuration file as small as possible. The domain names aren't all
similar so a suggestion that I've see a few time on various sites

HeadRequire "*.(www.)?(domain|domain2).com.*

isn't much use as there isn't a particular structure to our domains. My
pound file currently has multiple copies of the following

HeadRequire "Host:[ \t]*(www\.)?(domain1\.com|domain2\.com|...)$"

Should do what you want, if not how you want. The real question is, how do you map domains to backends? Assuming its complicated, you may do well to use an IP per server group (whatever that is for your setup), and just use DNS to manage things.

If its simple, just map the exceptions as above, and use a service block w/o any HeadRequire directives to catch the rest.

Regards,
--
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to