You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Arno Schäfer <Ar...@sqs.com> on 2016/11/29 16:44:35 UTC
Mounting WebDAV in Tomcat 7.0.45
Hi all,
I have activate WebDAV in our web application, as it is in tomcat. A filter control the access to exactly one
folder inside the web application. This application is used only internal in the intra-net and so it run just
over HTTP without any user permission. Open and save Office documents on this WebDAV URI work
fine.
What I have to do, that I can mount this one directory to the normal explorer. If I do it, like you see in
the Attachment, I get the message, that Windows has no access.
Do I have something to configure in the server, that directories can be mounted or does the standard
WebDAV servlet do not have this feature?
Best regards
Arno
_________________________________________________________
Vorsitzender des Aufsichtsrats: David Bellin
Vorstand: Diederik Vos (CEO) │ Ralph Gillessen (COO) │ René Gawron (CFO)
Martin Hodgson (Executive Director Management Consulting)
SQS AG │ Stollwerckstraße 11 │ 51149 Köln
Sitz der Gesellschaft: Köln │ Amtsgericht Köln, HRB 12764
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient
(or have received this e-mail in error) please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
AW: Mounting WebDAV in Tomcat 7.0.45
Posted by Arno Schäfer <Ar...@sqs.com>.
> Some versions of the Windows WebDAV client refuse to connect if the server root is not WebDAV enabled.
> There is also this code that you might find helpful - although it hasn't been updated in a while:
> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java?view=annotate
Thanks for the fast answer, I will try it tomorrow.
Arno
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Mounting WebDAV in Tomcat 7.0.45
Posted by Michael Osipov <mi...@apache.org>.
Am 2016-11-29 um 20:07 schrieb Christopher Schultz:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> André,
>
> On 11/29/16 12:36 PM, André Warnier (tomcat) wrote:
>> On 29.11.2016 17:56, Mark Thomas wrote:
>>> On 29/11/2016 16:44, Arno Schäfer wrote:
>>>> Hi all,
>>>>
>>>> I have activate WebDAV in our web application, as it is in
>>>> tomcat. A filter control the access to exactly one folder
>>>> inside the web application. This application is used only
>>>> internal in the intra-net and so it run just over HTTP without
>>>> any user permission. Open and save Office documents on this
>>>> WebDAV URI work fine. What I have to do, that I can mount this
>>>> one directory to the normal explorer. If I do it, like you see
>>>> in the Attachment, I get the message, that Windows has no
>>>> access. Do I have something to configure in the server, that
>>>> directories can be mounted or does the standard WebDAV servlet
>>>> do not have this feature?
>>>
>>> Some versions of the Windows WebDAV client refuse to connect if
>>> the server root is not WebDAV enabled.
>>
>> Some recent versions of Windows also require that the server be
>> HTTPS.
>
> And with HTTP Digest authentication for some silly reason.
The only reasonable way to use WebDAV in Windows Explorer is with HTTPS
and SPNEGO authentication. Both works with Tomcat and HTTPd's mod_dav.
Everything else is a rollercoaster ride.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
AW: Mounting WebDAV in Tomcat 7.0.45
Posted by Arno Schäfer <Ar...@sqs.com>.
So, many thanks for your comments,
> The general recommendation is to use a 3rd party WebDAV client. Check
> the archives details (I think it is Chris that uses one).
At least I found a product, what we actually use in our company and what I can
take also for our project.
The WebDAV Client is based on AJAX and JQuery and it should be possible to
integrate this in our web application.
Because the actual project didn't use AJAX and JQuery can you give me a short hint,
what are the requirements to use it and where are the pitfalls, when I use it.
Thanks
Arno
Re: Mounting WebDAV in Tomcat 7.0.45
Posted by "André Warnier (tomcat)" <aw...@ice-sa.com>.
On 29.11.2016 20:07, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Andr�,
>
> On 11/29/16 12:36 PM, Andr� Warnier (tomcat) wrote:
>> On 29.11.2016 17:56, Mark Thomas wrote:
>>> On 29/11/2016 16:44, Arno Sch�fer wrote:
>>>> Hi all,
>>>>
>>>> I have activate WebDAV in our web application, as it is in
>>>> tomcat. A filter control the access to exactly one folder
>>>> inside the web application. This application is used only
>>>> internal in the intra-net and so it run just over HTTP without
>>>> any user permission. Open and save Office documents on this
>>>> WebDAV URI work fine. What I have to do, that I can mount this
>>>> one directory to the normal explorer. If I do it, like you see
>>>> in the Attachment, I get the message, that Windows has no
>>>> access. Do I have something to configure in the server, that
>>>> directories can be mounted or does the standard WebDAV servlet
>>>> do not have this feature?
>>>
>>> Some versions of the Windows WebDAV client refuse to connect if
>>> the server root is not WebDAV enabled.
>>
>> Some recent versions of Windows also require that the server be
>> HTTPS.
>
> And with HTTP Digest authentication for some silly reason.
>
>>> There is also this code that you might find helpful - although it
>>> hasn't been updated in a while:
>>> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/fi
> lters/WebdavFixFilter.java?view=annotate
>>>
>>>
>>>
>>>
> The general recommendation is to use a 3rd party WebDAV client. Check
>>> the archives details (I think it is Chris that uses one).
>>
>> +1 There are so many differences between different versions of the
>> MS DAV redirector, with so many inconsistencies and bugs between
>> them, that it is generally-speaking a big loss of time to try to
>> accomodate and support them all. For example, you have already
>> experienced one inconsistency : MS-Office uses one form of DAV
>> Redirector, while Windows Explorer uses a different
>> "mini-redirector", and they have different requirements. When your
>> organisation in the future updates either MS-Office or Windows,
>> the behaviour will likely change. Search "windows webdav" in Google
>> for an overview.
>
> Microsoft has done what they can to kill WebDAV. We have resorted to
> using South River Tech's WebDrive software. (I have no financial
> interest in their company; just a satisfied user.)
+1. We use the same product, with the same (comments).
>
> MacOS and Linux seem to have no problem connecting to WebDAV shares in
> general. I have never tried to configure Tomcat for WebDAV access: I
> use httpd for that, but all of the above caveats with WebDAV from
> Windows will apply regardless of the server software involved.
>
+1 to that also.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Mounting WebDAV in Tomcat 7.0.45
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Andr�,
On 11/29/16 12:36 PM, Andr� Warnier (tomcat) wrote:
> On 29.11.2016 17:56, Mark Thomas wrote:
>> On 29/11/2016 16:44, Arno Sch�fer wrote:
>>> Hi all,
>>>
>>> I have activate WebDAV in our web application, as it is in
>>> tomcat. A filter control the access to exactly one folder
>>> inside the web application. This application is used only
>>> internal in the intra-net and so it run just over HTTP without
>>> any user permission. Open and save Office documents on this
>>> WebDAV URI work fine. What I have to do, that I can mount this
>>> one directory to the normal explorer. If I do it, like you see
>>> in the Attachment, I get the message, that Windows has no
>>> access. Do I have something to configure in the server, that
>>> directories can be mounted or does the standard WebDAV servlet
>>> do not have this feature?
>>
>> Some versions of the Windows WebDAV client refuse to connect if
>> the server root is not WebDAV enabled.
>
> Some recent versions of Windows also require that the server be
> HTTPS.
And with HTTP Digest authentication for some silly reason.
>> There is also this code that you might find helpful - although it
>> hasn't been updated in a while:
>> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/fi
lters/WebdavFixFilter.java?view=annotate
>>
>>
>>
>>
The general recommendation is to use a 3rd party WebDAV client. Check
>> the archives details (I think it is Chris that uses one).
>
> +1 There are so many differences between different versions of the
> MS DAV redirector, with so many inconsistencies and bugs between
> them, that it is generally-speaking a big loss of time to try to
> accomodate and support them all. For example, you have already
> experienced one inconsistency : MS-Office uses one form of DAV
> Redirector, while Windows Explorer uses a different
> "mini-redirector", and they have different requirements. When your
> organisation in the future updates either MS-Office or Windows,
> the behaviour will likely change. Search "windows webdav" in Google
> for an overview.
Microsoft has done what they can to kill WebDAV. We have resorted to
using South River Tech's WebDrive software. (I have no financial
interest in their company; just a satisfied user.)
MacOS and Linux seem to have no problem connecting to WebDAV shares in
general. I have never tried to configure Tomcat for WebDAV access: I
use httpd for that, but all of the above caveats with WebDAV from
Windows will apply regardless of the server software involved.
Good luck.
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCAAGBQJYPdHXAAoJEBzwKT+lPKRY0uwP/2a8JiHpwrp3AaDa0KJc+yef
RrUmG6aOmAiCDnUm//o/8LEsB/SCol8yF7BA8x/3Ea5UtV808ujRf5WRP5Qb8Wkc
IsPLIw0wPwldNlQHqCCxDdLT+7nYixm2NF3zF1kDkv9ZYPFRJXLNQNXsjaFSmqTj
tOsSLttWWDEJKHeJSHWP4YWUdRNFduTlSJhiHje7zD/n8FGLmXEmFJUfG+ZueHKm
pPX+aHDLkyTTt10QaIZXPDDYpW6NXtwzBNV31JbTcJc29UhnEeAXrOjLJgVBR+uv
9rQBey9hNTcijKONL1djfcs9IgHpyEHIfnL1B6R8wv+f7LjU5eCYCRUlTtJeLame
gdSZ8LaP/c4Ok9KXduDUk/lTplhONxZ0iA0rrVgc9h/WxRk1qzTU/CmVGgThSzcx
neoiTXU9E7Enwsv6wD2h8DtxX16L5R6Fg8gXWZvt1RZJlofySkuQ6zNkpGWeI+cH
1NZb8lPLjnXHc/sKFSPx0onrMXy3vl+xPPEnJx3uybyTdZ3c2lhMiie5JWWXE0z5
SIhEMkGbDLWcL92s9Ne8Fsiwi+vLQryZV8b+bgD7bNRFj7tzkAG4CIbqRJpa/o9i
jhLivwvYJ+yNrrzX5cWR6xQeCYXOEqL9lFj23wwbhlG8DM012LbKDh5EaJEN9U7c
0mjTO+euIzmVvqIHtZoz
=ohgJ
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Mounting WebDAV in Tomcat 7.0.45
Posted by "André Warnier (tomcat)" <aw...@ice-sa.com>.
On 29.11.2016 17:56, Mark Thomas wrote:
> On 29/11/2016 16:44, Arno Schfer wrote:
>> Hi all,
>>
>> I have activate WebDAV in our web application, as it is in tomcat. A filter control the access to exactly one
>> folder inside the web application. This application is used only internal in the intra-net and so it run just
>> over HTTP without any user permission. Open and save Office documents on this WebDAV URI work
>> fine.
>> What I have to do, that I can mount this one directory to the normal explorer. If I do it, like you see in
>> the Attachment, I get the message, that Windows has no access.
>> Do I have something to configure in the server, that directories can be mounted or does the standard
>> WebDAV servlet do not have this feature?
>
> Some versions of the Windows WebDAV client refuse to connect if the
> server root is not WebDAV enabled.
Some recent versions of Windows also require that the server be HTTPS.
>
> There is also this code that you might find helpful - although it hasn't
> been updated in a while:
> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java?view=annotate
>
> The general recommendation is to use a 3rd party WebDAV client. Check
> the archives details (I think it is Chris that uses one).
+1
There are so many differences between different versions of the MS DAV redirector, with so
many inconsistencies and bugs between them, that it is generally-speaking a big loss of
time to try to accomodate and support them all.
For example, you have already experienced one inconsistency : MS-Office uses one form of
DAV Redirector, while Windows Explorer uses a different "mini-redirector", and they have
different requirements. When your organisation in the future updates either MS-Office or
Windows, the behaviour will likely change.
Search "windows webdav" in Google for an overview.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Mounting WebDAV in Tomcat 7.0.45
Posted by Mark Thomas <ma...@apache.org>.
On 29/11/2016 16:44, Arno Schfer wrote:
> Hi all,
>
> I have activate WebDAV in our web application, as it is in tomcat. A filter control the access to exactly one
> folder inside the web application. This application is used only internal in the intra-net and so it run just
> over HTTP without any user permission. Open and save Office documents on this WebDAV URI work
> fine.
> What I have to do, that I can mount this one directory to the normal explorer. If I do it, like you see in
> the Attachment, I get the message, that Windows has no access.
> Do I have something to configure in the server, that directories can be mounted or does the standard
> WebDAV servlet do not have this feature?
Some versions of the Windows WebDAV client refuse to connect if the
server root is not WebDAV enabled.
There is also this code that you might find helpful - although it hasn't
been updated in a while:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java?view=annotate
The general recommendation is to use a 3rd party WebDAV client. Check
the archives details (I think it is Chris that uses one).
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org