Re: [Resin-interest] configuring webdav

2008-09-29 Thread Gary Lawrence Murphy
both with and without the trailing slash give 404 responses.

  /webdav/ was not found on this server.
  Resin-3.0.19 (built Mon, 15 May 2006 04:50:47 PDT)

the logs do show the webdav servlet starting, but give no error on the
404; only msg.log shows

  [11:13:30.936] webdav: init

and access.log says only

  GET /webdav/ HTTP/1.1 404

and that got me thinking: I wonder if it disallows LIST commands?
Sure enough, when I put a file into my webdav dir and tried
/webdav/test.xml, I get the file.

so my updated question is: how do I enable directory listing? I tried
simply taking out the trailing slash in /webdav/* but it gave the
same behaviour as before.

On Thu, Sep 25, 2008 at 4:19 PM, Knut Forkalsrud
[EMAIL PROTECTED] wrote:
 PS: It would be nice if Resin's WebDAV servlet implemented the LOCK
 operation such that MacOSX would mount a WebDAV server as a read/write file
 system.

ah and that might be my show-stopper right there, because that was
more or less exactly what I needed to do :(


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] in search of doPut

2007-12-17 Thread Gary Lawrence Murphy
I did a search in the archives and came up with Scott's post at
http://www.caucho.com/support/resin-interest/0108/0464.html which
certainly seems to answer the question completely, but I'm still
unable to get any reaction to my PUT requests outside of the error 501
method not implemented

My servlet does implement doPut according to the spec given on
http://www.caucho.com/resin-javadoc/javax/servlet/http/HttpServlet.html#doPut(javax.servlet.http.HttpServletRequest,%20javax.servlet.http.HttpServletResponse)

protected void doPut(HttpServletRequest req,
 HttpServletResponse res)
  throws ServletException,
 java.io.IOException

and my web.xml file does allow the method:

init-param
. param-nameputAllowed/param-name
  param-valuetrue/param-value
/init-param

yet all I get is the line in the access.log

127.0.0.1 - - [17/Dec/2007:17:29:34 -0500] PUT /servlet/ HTTP/1.1
501 200 - -

and no other evidence :(

can anyone offer any guess as to what I may have forgotten to set to
enable these requests? Is there some setting I need to enable in the
servlet.conf?  Is there some way to get more information out as to why
I am receiving the 501 error?

 I am using resin-3.0.19 with Sun Java 1.5 on a Linux Debian machine.


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest