I'd say you have it almost 100% correct. The portion that's off is your step 2. In my reverse-proxy set-ups, I never use mod_proxy's directives. I always use mod_rewrite, since I'm almost always in a situation where I need to pass additional information from the front-side to the back-side of the proxy. Every time I've tried to do this, using ProxyPass to handle the proxy work, it's always executed in the wrong order, so now I just use the [P] flag in a RewriteRule.
-Brian On May 23, 2005, at 03:03 AM, Alexander Mueller wrote:
Good morning Brian, thanks for your reply. Did I understand your explanation correctly? 1. Request comes in2. Request is not considered as proxy request and hence initially not handled by mod_proxy3. Request is caught by mod_rewrite4. mod_rewrite parses the headers, retrieves the values in question by regex and stores them in environment variables5. mod_headers modifies the headers upon the env-vars6. Apache reverse proxies the request with the modified headers to the static upstream server through mod_write and the bottom RewriteRuleThank you, Alexander
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx