title: Tomcat 6.0.29 and Apache2 rendering text/html as text/plain
body: <p>We are using tomcat 6.0.29 behind apache2 on Ubuntu. The jsp page is being rendered as plain text and not being rendered as html (I see the entire html in the browser window) and everything works fine if I hit the instance directly via tomcat instance.</p>
  
  <p>I'm using mod_proxy_ajp and I tried it with mod_proxy_http as well. But no luck.</p>
  
  <p>Checked the content type in chrome browser using Dev Tools. If I hit the web server (http://www.myserver.com), then the type comes as 'text/plain' and if I hit tomcat (http://www.myserver.com:8080), then the type comes as 'text/html' and the page renders properly.</p>
  
  <p>Here is my apache configuration:</p>
  
  <pre><code>ProxyRequests Off
  &lt;Proxy *&gt;
  Order deny,allow
  Allow from all
  &lt;/Proxy&gt;
  
  ProxyPass / ajp://localhost:8009/
  ProxyPassReverse / ajp://localhost:8009/
  </code></pre>
  
  <p>Did anyone face this kind of issue? If yes, could you please share how this was resolved?</p>