tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: WebDav Configuration Question
Date Sun, 13 Mar 2011 09:48:50 GMT
On 12/03/2011 22:07, Scott Dudley wrote:
> 
> I'm running Tomcat 6.0.24 on Ubuntu 10.04.2 LTS.

Best if you upgrade to 6.0.32 / 7.0.11. There have been lots of fixes
since then.

> I'm trying to
> configure WebDav and limit access to a single folder, a subdirectory of
> my applications www folder... i.e. www/myapp/subdir.  I want to limit
> access only to subdir and disable the clients ability to create any new
> directories.  I've perused all config info that I found but was unclear
> on either point.

You prevent creation of directories by securing the MKCOL http method.
You should review the http methods to see if you wish to limit any others.

The WebDAV servlet is designed to provide access to the entire context
at whatever path you map it to. For example, if you map it to
/webdavedit/* content you view via
http://host:port/contextpath/content.html is editable via
http://host:port/contextpath/webdavedit/content.html

To get the behaviour you want, you should map the webdav servlet to /*
in a separate sub-context.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message