I have multiple servers that I would like to be accessed through a single entry point but in order to determine which server should be accessed, I need to parse some of an Http post. Is there a way to do this with Apache HTTP Server and mod_proxy? or any other tool out there? Getting pointed in the right direction would be a huge help (walking me through this by the hand would be great too). More details... 'Customers' are provided with a program that performs an http post and I would like to move them from my QA server to my Production server without shipping them anything but instead just letting them know that their program has been switched into Production mode. The http post that they send includes their software id and I would like to have the proxy server read this id from the post, and then look in a database to determine which server they should be redirected to. Thanks
well if the s/w id appears appended as part of a POST query, I'm not sure how to catch it with a htaccess, but you could see http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond, maybe there's a particular server var there which might take your fancy.