Re: [Resin-interest] configuring webdav

2008-09-29 Thread Scott Ferguson

On Sep 25, 2008, at 1:19 PM, Knut Forkalsrud wrote:

> On Sep 23, 2008, at 7:23 AM, Gary Lawrence Murphy wrote:
>
> > 
> ...
> > but when I use a browser to access localhost:8080/webdav I get
> > a 404 Not-Found error.
> ...
> > what did I miss?
>
>
> It could be as simple as adding a trailing slash in your URL, after  
> all there is an explicit slash in the servlet mapping.
>
> -Knut
>
> 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.

Right.  That's the main open issue with Resin's WebDAV.

-- Scott

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



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


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


Re: [Resin-interest] configuring webdav

2008-09-25 Thread Knut Forkalsrud
>
> On Sep 23, 2008, at 7:23 AM, Gary Lawrence Murphy wrote:
>
> > 
> ...
> > but when I use a browser to access localhost:8080/webdav I get
> > a 404 Not-Found error.
> ...
> > what did I miss?
>


It could be as simple as adding a trailing slash in your URL, after all
there is an explicit slash in the servlet mapping.

-Knut

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.
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] configuring webdav

2008-09-25 Thread Scott Ferguson

On Sep 23, 2008, at 7:23 AM, Gary Lawrence Murphy wrote:

>
> I am attempting to enable webdav for a test and I'm wondering if there
> might be a step missing from the how-to page at
> http://www.caucho.com/resin-3.0/servlet/webdav.xtp

I've filed a bug report for this at http://bugs.caucho.com/view.php?id=2966

It's been awhile since we've worked on the webdav servlet, so I'm not  
exactlu sure what the issue is.

-- Scott

>
>
> For this test I am using the open non-secure settings (just to KISS).
> I have copied the given servlet config section into conf/resin.xml
>
> 
>  webdav
>  com.caucho.servlets.webdav.WebDavServlet class>
>  
>write
>WEB-INF/webdav
>false
>*
>  
> 
>
> 
>
> and I see
>
> ==> /opt/resin/logs/msg.log <==
> [09:44:39.308] webdav: init
>
> but when I use a browser to access localhost:8080/webdav I get
> a 404 Not-Found error.
>
> on the chance it needed the root pre-created, I created the
> webapps/WEB-INF/webdav directory, but I still get that error.
>
> what did I miss?
>
>
> -- 
> Gary Lawrence Murphy   
> =
> Alice laughed: "There's no use trying, one can't believe impossible  
> things."
> "I daresay you haven't had much practice," said the Queen.
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



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