title: Proxying play application
body: <p>On my server, I have installed <em>Apache HTTP</em>, <em>Tomcat</em> and need to deploy my <em>Play</em> application.</p>
  
  <p>The configuration of my <em>Apache HTTP</em> server that I had and worked was this:</p>
  
  <p>At the end of <code>/etc/httpd/conf/httpd.conf</code> I had whose lines that proxied all incomming requests to tomcat. And it was good.</p>
  
  <pre><code>ProxyPass / ajp://localhost:8009/
  ProxyPassReverse / ajp://localhost:8009/
  </code></pre>
  
  <p>Now, because I need to deploy my <em>Play</em> application also, I put the following before the above last two lines:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ProxyPreserveHost On
      ServerName localhost
      ProxyPass  /excluded !
      ProxyPass /my_play_app http://localhost:9000/my_play_app
      ProxyPassReverse /my_play_app http://localhost:9000/my_play_app
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>The problem is that when I try to access the play application with this configuration, it doesn't respond. Can you give me some hints on how to solve my issue?</p>
  
  <p>Thanks in advance.</p>