/ Zope / Apsis / Pound Mailing List / Archive / 2012 / 2012-04 / Regex in Backend-Address

[ << ] [ >> ]

[ RE: [Pound Mailing List] cookie insertion / Joe ... ] [ Problem with SAN (Subject Aternate Name) ... ]

Regex in Backend-Address
Christian Senkowski <cs(at)kon.de>
2012-04-02 11:57:32 [ SNIP ]
Hi,


i have the following server-construct


  Pound:80, Internal Resolver only
-------------------------------------
        |    |   |     |
        S1  S2   S3   S4


and over 1000 domains on each S1-4.


Actually I also use squid which works perfectly (but slow) and for some
domains a config like this one in pound:

ListenHTTP
        Address 81.XX.XX.XX
                HeadRequire "domain.com"
                BackEnd
                    Address domain.com
		    Port 80
                End
            End
        End


Thats working fine because of the internal resolver who tells pound to
which of the S1-4 machines the request should be forwarded.

But for round about 5000 domains the config seems to be a bit overloaded
so I wonder if the following might be possible:

ListenHTTP
        Address 81.XX.XX.XX
                HeadRequire "(.*)"
                BackEnd
                    Address $1
                    Port    80
                End
            End
        End



-- 
Christian Senkowski

MailBoxer