View Single Post
  #1   (View Single Post)  
Old 2nd December 2008
Malakim Malakim is offline
Real Name: Markus Svensson
Port Guard
 
Join Date: May 2008
Location: Eslöv, Sweden
Posts: 13
Default Apache: problem with rewritten content-type header

Hi!

I'm sure there are some real Apache geniuses here, so maybe you can give me some advice.

I have the following problem:

* I have an Apache 2.2.10 server fronting a web application running on Tomcat 4.0.5 via ProxyPass directives.
* When I send a request to my web app directly at the Tomcat server it responds with content-type=application/xhtml+xml, which is what I want.
* If I send the request to the Apache server it responds with content-type=text/html.

Is there any way to configure Apache to respond with the corerct content type?

Thanks!

Regards,
Markus
Reply With Quote