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

Service
  HeadRequire "Host: .*site.our.org.*"
  BackEnd
    Address x.x.x.x,80,1
  End
End

Idealy I would like it to be something like the following

Service
  HeadRequire "Host: .*sitsde.org.*",
                        "Host: .*dokop.com.*",
                        "Host: .*sdihns.org.uk.*",
                        "Host: .*eiorwer.blah.*",
                        "Host: .*serwer.etc.*",
  BackEnd
    Address x.x.x.x,80,1
  End
End

Can anyone suggest how to include multiple Host headers as above or how to shorten the script it in any way, eventualy we will script the generation of the configuration file but untill then we will be editing it by hand and it's already getting pretty large.

Thanks
Keith

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

Reply via email to