The rule is that WebDAV App Servers require a root with a slash (/) at *the end* of the root path. So "http://foo/" is OK, as is "test/". You can then see anything *underneath* that path in your WebDAV server. There is no way to access a document with a URI test.xml in a WebDAV server, but it is possible to access test/test.xml by creating a server with a root of "test/".
-Danny -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Tuesday, September 07, 2010 3:41 AM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] Query on directories Hi Florent, Sorry, you are right. I am mixing up the root setting with external access. But it is still not possible to access for instance a document with uri 'test.xml'. You have to specify a root folder and this uri hasn't any.. Kind regards, Geert > drs. G.P.H. (Geert) Josten Consultant Daidalos BV Hoekeindsehof 1-4 2665 JZ Bleiswijk T +31 (0)10 850 1200 F +31 (0)10 850 1199 mailto:[email protected] http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit e-mailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: Florent Georges [mailto:[email protected]] > Sent: dinsdag 7 september 2010 12:05 > To: General Mark Logic Developer Discussion; Michael > Blakeley; Geert Josten > Subject: Re: [MarkLogic Dev General] Query on directories > > Geert Josten wrote: > > Hi, > > > Webdav app servers within MarkLogic Server always start > with / (at the > > least). > > Is it a documented restriction? I've never seen it, and > that's not how my server behave. For instance: > > xdmp:directory-create('db/') > => create the dir > xdmp:document-insert('db/file.xml', <root/>) > => insert a document at a URI "within" that dir > xdmp:directory('db/') > => return the content of the dir (the doc <root/>) > > If I create a WebDAV server with the root 'db/', and > navigate it with a WebDAV client, I see file.xml as content of the DB. > > Regards, > > -- > Florent Georges > http://fgeorges.org/ > > > > > _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
