On Mon, 2006-08-14 at 11:44 -0400, Tom Weber wrote: > By this I mean, I have front end servers: F1 and F2, and middle-tier > servers M1 and M2. I would like F1 to proxy to M1 and F2 to proxy to > M2. I would like to have a small piece of code do this, rather than > having unique httpd.conf files for each F# server.
If you're using virtual hosts for these, mod_proxy can just pass the Host header and you send all the traffic to the same mod_perl server and intercept it with VirtualHost sections back there. Otherwise, there are many ways to do templated httpd.conf files. You can use mod_macro or generate conf files with Template Toolkit or a dozen other things. - Perrin