title: Use modreverseproxy only if cookie is found
body: <p>I have a site, lets call it example.com which is hosted on an Apache server listening in on port 80. I also am using <code>modproxy</code> at the moment to send traffic to another server that is listening in on port 8000. How can I only allow the traffic to be proxied if a <code>PHPSESSID</code> cookie is found? Here is my conf settings for the moment. </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ProxyPreserveHost On
      ProxyRequests Off
      ProxyPass /private http://localhost:8000
      ProxyPassReverse /private http://localhost:8000/
      &lt;Proxy *&gt;
          Order deny,allow
          Allow from all
      &lt;/Proxy&gt;
  &lt;/VirtualHost&gt;
  </code></pre>