AnsweredAssumed Answered

mod_jk and webdav

Question asked by toltech on Sep 16, 2007
Latest reply on Jan 23, 2008 by jpotts
L.S.,
We want to use mod_jk to shield off the tomcat server and let apache redirect requests. Evering seems to be working except for the webdav part. Strange enough mod_jk gives back a "Content-Type: text/plain; charset=iso-8859-1" header. If we access tomcat directly this does not happen.

The result is that the web browser does not display the page as html, but as plain text. Does anyone know a way to prevent this?

Below are the server responses of both requests.

mod_jk:
http://admin:*password*@apacheserver/alfresco/webdav
           => `webdav.4'
  HTTP/1.1 200 OK
  Date: Sun, 16 Sep 2007 16:20:46 GMT
  Server: Apache/1.3.34 (Ubuntu) mod_jk/1.2.25 PHP/4.4.2-1build1
  Set-Cookie: JSESSIONID=71A9B6DE98348C07383EB18E80256F1C; Path=/alfresco
  Connection: close
  Content-Type: text/plain; charset=iso-8859-1
  X-Pad: avoid browser bug
Length: unspecified [text/plain]

direct:
http://admin:*password*@tomcat:8080/alfresco/webdav
  HTTP/1.1 200 OK
  Server: Apache-Coyote/1.1
  Set-Cookie: JSESSIONID=6B48201FBBAD898B282AD43E1C1872E1; Path=/alfresco
  Date: Sun, 16 Sep 2007 16:20:34 GMT
  Connection: close
Length: unspecified

Outcomes