title: Apache host header proxy
body: <p>I have multiple urls coming into a server.  I want to user host headers to redirect the traffic.  I am trying to use Apache to redirect these requests to various servers that are inside our firewall.  I have gotten part of the solution, but, I seem to be missing something.  </p>
  
  <p>For example, <a href="http://hostHeader1.mycompany.com" rel="nofollow">http://hostHeader1.mycompany.com</a> should be redirected to a server inside our firewall that handles requests for hostHeader1, and the result should be handed back to the client.  <a href="http://hostHeader2.mycompany.com" rel="nofollow">http://hostHeader2.mycompany.com</a> should be redirected to a server inside our firewall that handles requests for hostHeader2.  Etc.</p>
  
  <p>Right now, I have the following, but, it redirects all traffic to <a href="http://hostHeader1Handler/" rel="nofollow">http://hostHeader1Handler/</a>:</p>
  
  <pre><code>&lt;VirtualHost *:*&gt;
  ProxyPreserveHost On
  ProxyPass / http://hostHeader1Handler/
  ProxyPassReverse / http://hostHeader1Handler/
  ServerName hostHeader1.mycompany.com
  &lt;/VirtualHost&gt; 
  </code></pre>
  
  <p>Any help appreciated.</p>
  
  <p>Scott</p>