<?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: Getting rid of /alfresco/webdav in my path? [Not Solved] in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109214#M76645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason it's not working is that there are path names in the XML responses. For example, when the WebDAV client does a PROPFIND on a directory, there are elements such as this one:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;D:href&amp;gt;/alfresco/webdav/other/path/info&amp;lt;/D:href&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not an expert, but I assume that the WebDAV client is using this path to make future requests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to hide your webdav server you would need to search/replace these paths.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 17:20:34 GMT</pubDate>
    <dc:creator>kgilpin</dc:creator>
    <dc:date>2011-04-13T17:20:34Z</dc:date>
    <item>
      <title>Getting rid of /alfresco/webdav in my path? [Not Solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109209#M76640</link>
      <description>Hi Alfresco Community,I have a bit of a problem here.I have an instance of Alfresco running with webdav, works really well. However, the webdav url looks like this:http://server.stadiumarchitects.com/alfresco/webdav/stadiumarchitects/I need it to look like this: Note I want the /alfresco/webdav part</description>
      <pubDate>Fri, 27 Apr 2007 17:03:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109209#M76640</guid>
      <dc:creator>winston</dc:creator>
      <dc:date>2007-04-27T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of /alfresco/webdav in my path? [Not Solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109210#M76641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have done the following to [attempt] to solve my problem, and I am seeing very interesting behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added the following to my Vhost.conf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;#First we add some protection.&lt;BR /&gt;ProxyRequests Off&lt;BR /&gt;&lt;BR /&gt;#Then we define the url's to be proxied&lt;BR /&gt;ProxyPass ^/stadiumarchitects$ &lt;A href="http://www.stadiumarchitects.com:8080/alfresco/webdav/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com:8080/alfresco/webdav/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;ProxyPassReverse ^/stadiumarchitects$ &lt;A href="http://www.stadiumarchitects.com:8080/alfresco/webdav/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com:8080/alfresco/webdav/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;ProxyPass /stadiumarchitects/ &lt;A href="http://www.stadiumarchitects.com:8080/alfresco/webdav/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com:8080/alfresco/webdav/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;ProxyPassReverse /stadiumarchitects/ &lt;A href="http://www.stadiumarchitects.com:8080/alfresco/webdav/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com:8080/alfresco/webdav/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;#Now that we have defined our proxy we can redirect url's through it&lt;BR /&gt;RedirectMatch ^/stadiumarchitects$ &lt;A href="http://www.stadiumarchitects.com/alfresco/webdav/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/alfresco/webdav/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;RedirectMatch ^/stadiumarchitects/ &lt;A href="http://www.stadiumarchitects.com/alfresco/webdav/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/alfresco/webdav/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;#Now we add the mod_rewrite stuff&lt;BR /&gt;RewriteEngine On&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Rewritecond %{REQUEST_URI} (stadiumarchitects|greenpoint)&lt;BR /&gt;RewriteRule ^/alfresco/webdav/(.*) /$1 [R=301,L,P]&lt;BR /&gt;RewriteLog "/var/log/apache2/&lt;A href="http://www.stadiumarchitects.com_rewrite.log" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com_rewrite.log&lt;/A&gt;"&lt;BR /&gt;#Note I am using debug log level to see what is happening, for production we set this to 1&lt;BR /&gt;RewriteLogLevel 3&lt;BR /&gt;&lt;BR /&gt;#Now we make sure that all our requests will be valid.&lt;BR /&gt;&amp;lt;Location /stadiumarchitects/&amp;gt;&lt;BR /&gt;&amp;lt;Limit OPTIONS PROPFIND GET REPORT MKACTIVITY PROPPATCH PUT CHECKOUT MKCOL MOVE COPY DELETE LOCK UNLOCK MERGE&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Order Deny,Allow&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allow from all&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Satisfy Any&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Limit&amp;gt;&lt;BR /&gt;&amp;lt;/Location&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now that we have added all of the above to our Vhost.conf we can begin to investigate this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SO. We fireup our VMWARE and start up windows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Open up Internet explorer. Click File -&amp;gt; Open - and type the URL. In this case it's &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;A href="http://www.stadiumarchitects.com/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Remember to Tick "Open as a webfolder" so that we request DAV&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I see the following in my LOGS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Landing URL shows me what I want to acomplish&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;A href="http://www.stadiumarchitects.com/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I can also see all my folders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My apache ACCESS LOG has this information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] "PROPFIND /stadiumarchitects HTTP/1.1" 302 251 "-" "Microsoft Data Access Internet Publishing Provider DAV"&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] "PROPFIND /stadiumarchitects HTTP/1.1" 302 251 "-" "Microsoft Data Access Internet Publishing Provider DAV"&lt;BR /&gt;127.0.0.1 - - [29/Apr/2007:15:46:36 +0200] "PROPFIND /stadiumarchitects/ HTTP/1.1" 207 5531 "-" "Microsoft Data Access Internet Publishing Provider DAV"&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] "PROPFIND /alfresco/webdav/stadiumarchitects/ HTTP/1.1" 207 5531 "-" "Microsoft Data Access Internet Publishing Provider DAV"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I see again, the "/alfresco/webdav" - I don't want to see this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MOD_REWRITE has this to say.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (2) init rewrite engine with requested uri /stadiumarchitects&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (3) applying pattern '^/alfresco/webdav/(.*)' to uri '/stadiumarchitects'&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (1) pass through /stadiumarchitects&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (2) init rewrite engine with requested uri /stadiumarchitects&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (3) applying pattern '^/alfresco/webdav/(.*)' to uri '/stadiumarchitects'&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (1) pass through /stadiumarchitects&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (2) init rewrite engine with requested uri /alfresco/webdav/stadiumarchitects/&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (3) applying pattern '^/alfresco/webdav/(.*)' to uri '/alfresco/webdav/stadiumarchitects/'&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (2) rewrite /alfresco/webdav/stadiumarchitects/ -&amp;gt; /stadiumarchitects/&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (2) forcing proxy-throughput with &lt;A href="http://www.stadiumarchitects.com/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/stadiumarchitects/&lt;/A&gt;&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:46:36 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (1) go-ahead with proxy request proxy:&lt;A href="http://www.stadiumarchitects.com/stadiumarchitects/" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/stadiumarchitects/&lt;/A&gt; [OK]&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I enter into a directory under my webdav directory and now I see the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/alfresco/webdav in my url again &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; BAD!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;A href="http://www.stadiumarchitects.com/alfresco/webdav/stadiumarchitects/consultants" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/alfresco/webdav/stadiumarchitects/consultants&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Apache ACCESS LOG has this to say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;127.0.0.1 - - [29/Apr/2007:15:51:38 +0200] "PROPFIND /stadiumarchitects/consultants HTTP/1.1" 207 11325 "-" "Microsoft Data Access Internet Publishing Provider DAV"&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] "PROPFIND /alfresco/webdav/stadiumarchitects/consultants HTTP/1.1" 207 11325 "-" "Microsoft Data Access Internet Publishing Provider DAV"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;MOD_REWRITE LOG has this to say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (2) init rewrite engine with requested uri /alfresco/webdav/stadiumarchitects/consultants&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (3) applying pattern '^/alfresco/webdav/(.*)' to uri '/alfresco/webdav/stadiumarchitects/consultants'&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (2) rewrite /alfresco/webdav/stadiumarchitects/consultants -&amp;gt; /stadiumarchitects/consultants&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (2) forcing proxy-throughput with &lt;A href="http://www.stadiumarchitects.com/stadiumarchitects/consultants" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/stadiumarchitects/consultants&lt;/A&gt;&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#833c128/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#833c128/initial&lt;/A&gt;] (1) go-ahead with proxy request proxy:&lt;A href="http://www.stadiumarchitects.com/stadiumarchitects/consultants" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/stadiumarchitects/consultants&lt;/A&gt; [OK]&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#8342140/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#8342140/initial&lt;/A&gt;] (2) init rewrite engine with requested uri /alfresco/webdav/stadiumarchitects/consultants&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#8342140/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#8342140/initial&lt;/A&gt;] (3) applying pattern '^/alfresco/webdav/(.*)' to uri '/alfresco/webdav/stadiumarchitects/consultants'&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#8342140/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#8342140/initial&lt;/A&gt;] (2) rewrite /alfresco/webdav/stadiumarchitects/consultants -&amp;gt; /stadiumarchitects/consultants&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#8342140/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#8342140/initial&lt;/A&gt;] (2) forcing proxy-throughput with &lt;A href="http://www.stadiumarchitects.com/stadiumarchitects/consultants" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/stadiumarchitects/consultants&lt;/A&gt;&lt;BR /&gt;*.*.*.* - - [29/Apr/2007:15:51:38 +0200] [&lt;A href="http://www.stadiumarchitects.com/sid#8191840][rid#8342140/initial" rel="nofollow noopener noreferrer"&gt;www.stadiumarchitects.com/sid#8191840][rid#8342140/initial&lt;/A&gt;] (1) go-ahead with proxy request proxy:&lt;A href="http://www.stadiumarchitects.com/stadiumarchitects/consultants" rel="nofollow noopener noreferrer"&gt;http://www.stadiumarchitects.com/stadiumarchitects/consultants&lt;/A&gt; [OK]&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: MOD_REWRITE LOG states that the URL is being *fixed* and the /alfresco/webdav string is removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, this is where I am so far. I will continue to investigate. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have any help you can offer me I will be most greatful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2007 14:02:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109210#M76641</guid>
      <dc:creator>winston</dc:creator>
      <dc:date>2007-04-29T14:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of /alfresco/webdav in my path? [Not Solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109211#M76642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good morning Alfresco Engineers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice that you can provide on my issue, which is removing /alfresco/webdav from my path?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This project has already started so these posts are put together with a certain sense of urgency.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Winston&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 08:46:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109211#M76642</guid>
      <dc:creator>winston</dc:creator>
      <dc:date>2007-05-01T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of /alfresco/webdav in my path? [Not Solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109212#M76643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Winston,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm in a tight development cycle at the moment,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I cannot go over your config file in any detail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;right now.&amp;nbsp;&amp;nbsp;&amp;nbsp; As you've probably realized already,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mod_rewrite is trickier than it looks at first, second,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and third glance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's an answer to what I know is a totally different question,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but does contain a bunch of comments about rewriting that may&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be helpful regardless:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/WCM-128" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-128&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a direct but sloppy answer to your post&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(which, unfortunately, I've only had time to skim):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're trying to set up a reverse proxy so that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the browser sees one thing, but the origin server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gets another, you've got to be careful about where&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and how you do your redirects, and what you declare&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to be the last rule in a chain.&amp;nbsp;&amp;nbsp;&amp;nbsp; Also pay close attention&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to the convoluted and counter-intuitive order that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mod_rewrite uses to do its processing&amp;nbsp; (this will probably&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;require re-reading the docs a few times).&amp;nbsp; It's hard to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stress enough that all is not as it seems with mod_rewrite.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are some cookbook examples you can find online&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via google – for something like this, you can probably&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;locate exactly what you want. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Jon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aside:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you considered using Alfresco's&amp;nbsp; WCM package&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for your web-related stuff?&amp;nbsp; It's probably much more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;suited to what you're doing if it's web-related.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 15:23:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109212#M76643</guid>
      <dc:creator>jcox</dc:creator>
      <dc:date>2007-05-02T15:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of /alfresco/webdav in my path? [Not Solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109213#M76644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jon, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Man, you sure have a lot of knowledge with apache and mod re-write!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just looking at your posts was confusing &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jon, to get back to my request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What bothers me, is the fact that, in my logs, I can see that mod_rewrite is doing it's stuff. I can see the URL being chewed up and replaced with the URL as I want it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't seem to work though &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jon, to be quite honest, I am a little disappointed that it's such a shlep to get such a simple thing done. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To be quite frank, I have ran out of time too…I simply cannot spend more time searching for a fix to a problem that should have been easily fixed in the first place. I guess no one needed this functionality before…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am going to tell the guys that it cannot be done with out a prayer and a million bucks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This means of course that these poor folks will have to change an XREF path in about 4000-5000 drawings…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's hope the guys focus on this issue with the next release and try to document some form of instructions on how to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the update though,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Winston Nolan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:22:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109213#M76644</guid>
      <dc:creator>winston</dc:creator>
      <dc:date>2007-05-07T13:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of /alfresco/webdav in my path? [Not Solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109214#M76645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason it's not working is that there are path names in the XML responses. For example, when the WebDAV client does a PROPFIND on a directory, there are elements such as this one:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;D:href&amp;gt;/alfresco/webdav/other/path/info&amp;lt;/D:href&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not an expert, but I assume that the WebDAV client is using this path to make future requests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to hide your webdav server you would need to search/replace these paths.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 17:20:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109214#M76645</guid>
      <dc:creator>kgilpin</dc:creator>
      <dc:date>2011-04-13T17:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of /alfresco/webdav in my path? [Not Solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109215#M76646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To solve this problem you should override the GetMethod java class of the WebDAV implementation of Alfresco, this class is included in the Alfresco Remote API project and below you can see the full package of this class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.repo.webdav.GetMethod&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The method that you have to override is the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;private void generateDirectoryListing(FileInfo fileInfo)&lt;BR /&gt;…&lt;BR /&gt;…&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Get the URL for the root path&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String rootURL = WebDAV.getURLForPath(m_request, getPath(), true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rootURL = StringUtils.replace(rootURL,"alfresco/webdav","yourContextPath/webdav");&lt;BR /&gt;…&lt;BR /&gt;…&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;You only need to replace the string part of the URL that is involved for the context path of the Alfresco web application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this way all the links generated by the WebDAV servlet for contents are now overrided with your own contextPath that you have configured in your web server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 14:09:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109215#M76646</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-06-23T14:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of /alfresco/webdav in my path? [Not Solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109216#M76647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A different workaround will be to create a servlet that basically intercepts every request running at &lt;/SPAN&gt;&lt;A href="http://server/servlet/a_folder" rel="nofollow noopener noreferrer"&gt;http://server/servlet/a_folder&lt;/A&gt;&lt;SPAN&gt; and invisibly redirects you to &lt;/SPAN&gt;&lt;A href="http://server/alfresco/webdav/a_folder" rel="nofollow noopener noreferrer"&gt;http://server/alfresco/webdav/a_folder&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 14:19:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-rid-of-alfresco-webdav-in-my-path-not-solved/m-p/109216#M76647</guid>
      <dc:creator>sebgymn</dc:creator>
      <dc:date>2012-02-16T14:19:02Z</dc:date>
    </item>
  </channel>
</rss>

