mod_proxy changes content type from text/xml to text/plain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am fronting my tomcat with apache2 using mod_proxy. This is causing the content type of soap responses to be changed from text/xml to text/plain.

If my client application talks to tomcat directly then everthing works ok, i.e. soap responses are returned as text/xml, but if the request/response pass through apache2 then the response content type changes.

I have trawled the web and various forums and although I see a few similar threads, no one appears to have found an answer.

I've tried both mod_proxy_http and mod_proxy_ajp with the same result.

    ProxyPass /oneview http://127.0.0.1:8080/oneview
    ProxyPassReverse /oneview http://127.0.0.1:8080/oneview


    ProxyPass /oneview ajp://127.0.0.1:8009/oneview
    ProxyPassReverse /oneview ajp://127.0.0.1:8009/oneview


I would appreciate any useful pointers.

Versions:
Test Configuration:
Apache 2.2.14 (Ubuntu)
Tomcat 6.0.26

Production Configuration:
Apache 2.2.3 (RHEL)
Tomcat 6.0.24


Thanks,
Geoff

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux