Marc Farrow wrote:
> Mark,
> 
>  Why do you have to mark the WEBDAV servlet as NOT read-only in order to
> use the ant tasks?  By default the read-only/false parameter is commented
> out.  The ant tasks will not work unless you uncomment them out.

You don't have to do this. The Ant tasks use the manager servlet. The
manager servlet does not use the webdav servlet. The webdav servlet is
in a separate web-app all of it's own. As can be seen from the source,
nothing in either the Ant tasks or the manager servlet expects the
webdav servlet or application to be present.

The deploy task does require the readonly parameter of the default
servlet to be configured so PUT works. It is possible that someone may
have added the WEBDAV servlet to the manager application as an
alternative method of enabling PUT. I can see how this might work but
it certainly isn't the standard way of doing things neither have I
tested it. I would also have security concerns about the using the
webdav servlet in this way and would want to check exactly what was
and wasn't exposed for edit in such a configuration. I am not saying
it couldn't be secured, just that I would want to be careful.

>> 2. To what fault in the WEBDAV are you referring? When I last looked
>> at the WEBDAV servlet it had no problems handling the upload of images
>> or any other files for that matter.

You didn't answer this point. If there is an issue with webdav and
images I would very much like to know about it since it hasn't
appeared in any of my testing.

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to