<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: mod_jk and webdav in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129835#M91232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin, can you point me to a Jira issue number?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm seeing this problem on 2.1.1 Enterprise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To re-cap the problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Web client can upload files with international characters as file names without a problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - File names uploaded via webdav get mangled&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have confirmed that if I remove Apache from the equation and hit WebDAV on port 8080 directly, the problem goes away. Going through Apache via mod_jk, with or without SSL, causes the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Red Hat Enterprise Linux 4 (2.6.9-55.0.2.ELsmp)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Apache 2.0.52 with mod_jk, mod_rewrite, and mod_ssl&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Alfresco-Tomcat bundle 2.1.1 Enterprise&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - MySQL 4.1.20 with UTF-8 across the board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - URIEncoding attribute set properly in Connector tags within server.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - JDK 1.5.0_14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Going through Apache with and without SSL works fine on Ubuntu Gutsy. But on Gutsy, I'm running Apache 2.2.4 and JDK 1.5.0_13..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2008 21:35:17 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2008-01-22T21:35:17Z</dc:date>
    <item>
      <title>mod_jk and webdav</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129831#M91228</link>
      <description>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</description>
      <pubDate>Sun, 16 Sep 2007 16:30:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129831#M91228</guid>
      <dc:creator>toltech</dc:creator>
      <dc:date>2007-09-16T16:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: mod_jk and webdav</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129832#M91229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Further analysis shows that if the /alfresco/webdav/ gives back the right content type ( Content-Type: text/html;charset=UTF-8 ) the problem will be solved. Is there a way to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Sep 2007 20:44:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129832#M91229</guid>
      <dc:creator>toltech</dc:creator>
      <dc:date>2007-09-16T20:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: mod_jk and webdav</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129833#M91230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To be more precise: only if the webdav url points at a "space", no content type is being generated. If the content is a pdf or a jpg, the correct content-type is generated hence the browser processes the request correctly through mod_jk. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the webdav interface, a space always points at a html page therefore the content type should be text/html. In the entire process where the client uses mod_jk through apache, in the absence of a content-type header, somewhere in the chain, the wrong content-type is added automatically (text/plain). This leads to the page not being displayed as an html page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I report this as a bug?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Sep 2007 21:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129833#M91230</guid>
      <dc:creator>toltech</dc:creator>
      <dc:date>2007-09-16T21:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: mod_jk and webdav</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129834#M91231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know there was a bug fixed in this area - webdav pages were not outputing the content type. I think it was fixed for 2.1 - are you using 2.0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 14:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129834#M91231</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-09-20T14:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: mod_jk and webdav</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129835#M91232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin, can you point me to a Jira issue number?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm seeing this problem on 2.1.1 Enterprise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To re-cap the problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Web client can upload files with international characters as file names without a problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - File names uploaded via webdav get mangled&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have confirmed that if I remove Apache from the equation and hit WebDAV on port 8080 directly, the problem goes away. Going through Apache via mod_jk, with or without SSL, causes the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Red Hat Enterprise Linux 4 (2.6.9-55.0.2.ELsmp)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Apache 2.0.52 with mod_jk, mod_rewrite, and mod_ssl&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Alfresco-Tomcat bundle 2.1.1 Enterprise&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - MySQL 4.1.20 with UTF-8 across the board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - URIEncoding attribute set properly in Connector tags within server.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - JDK 1.5.0_14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Going through Apache with and without SSL works fine on Ubuntu Gutsy. But on Gutsy, I'm running Apache 2.2.4 and JDK 1.5.0_13..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 21:35:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129835#M91232</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2008-01-22T21:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: mod_jk and webdav</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129836#M91233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Peter over at Alfresco Support found the answer. When using mod_jk, in addition to making sure each of the &amp;lt;Connector /&amp;gt; tags in server.xml has the URIEncoding="UTF-8" set, you have to add the following jkOptions parm to your httpd.conf (or your alfresco.conf or whatever included apache conf file you want):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;JkOptions +ForwardURICompatUnparsed&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the link with the info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://confluence.atlassian.com/display/DOC/Configuring+Tomcat%27s+URI+encoding" rel="nofollow noopener noreferrer"&gt;http://confluence.atlassian.com/display/DOC/Configuring+Tomcat%27s+URI+encoding&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 02:24:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129836#M91233</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2008-01-23T02:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: mod_jk and webdav</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129837#M91234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are also using mod_rewrite, for example to rewrite "/" to "/alfresco/" the use of ForwardURICompatUnparsed will break the rewrite rule. We haven't settled on a workaround yet. I'll edit this post when we do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 20:23:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mod-jk-and-webdav/m-p/129837#M91234</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2008-01-23T20:23:14Z</dc:date>
    </item>
  </channel>
</rss>

