W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2001

Issue: BIND and MKRESOURCE

From: Adam Freeman <afreeman@lightsurf.com>
Date: Thu, 19 Apr 2001 12:23:11 -0700
To: <w3c-dist-auth@w3.org>
Message-ID: <NFBBIBMJIOBNIGEECJHCOEGMCAAA.afreeman@lightsurf.com>
Hi,
I am a new subscriber to this list and have just started checking out
WebDAV.  I've been reviewing the memos for BIND and MKRESOURCE for
redirecting references.  What I would like to do with WebDAV is create a new
resource that references an original resource but with different metadata
(MKRESOURCE can be used to do this).  The problem is MKRESOURCE will make it
so that a redirect (302) is sent back to the client but I would like to send
back the original resource bits.  This is pretty much what BIND is supposed
to do except that BIND also returns back the same metadata information for
the bound uri as the original.

It makes sense to me that a DAV server could *either* send back a 302 or the
original bits given the resourcetype of the resource ... ?

I managed to hack this by creating a soft link on the server using ln -s and
then I could have different metadata for the reference than the original but
have both return the original bits.

For example,

    wh24.jpg
    wh24.ref -> wh24.jpg

where wh24.jpg and wh24.ref have different metadata on the DAV server.

Also, is the <link><src/><dst/></link> property supposed to do what I am
trying to do.  If so, I couldn't figure out how to use it properly.  I tried
placing the property in the root collection like this -->

<prop><source><link><src>http://server/wh24.jpg</src><dst>http://server/wh24
.ref</dst></link></source></prop>

but when I try to access wh24.ref on the server I get a 404.

Thanks,
Adam
Received on Thursday, 19 April 2001 15:23:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:56 GMT