[MarkLogic Dev General] anyone successfully use perl's
HTTP::DAVmodule with ML?
Danny Sokolsky
dsokolsky at marklogic.com
Tue Nov 27 17:43:11 PST 2007
It does appear to work for me, although I am also seeing the "duplicate
specification" message (don't know what that means). Here is what I
did, using a PerlDAV I made using the "lazy way to install PerlDAV" on
http://www.webdav.org/perldav/:
$ dave
Duplicate specification "man|?" for option "?"
dave -- DAV Explorer (v1.23)
Try "help", or "open http://host.com/dav_enabled_dir/"
dave> open localhost:9031
Enter username for public at localhost:9031: foo
Password:
** Connected to localhost:9031/ **
dave> ls
Listing of http://localhost:9031/
./ Oct 10 17:09 <dir>
dir1/ <dir>
dir2/ <dir>
dave> bye
Bye
Make sure the port you are connecting to is configured as a WebDAV
server (not an HTTP server). Of course, if you can connect to that
port via windows explorer, it is probably set up correctly.
-Danny
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of Coarr,
Matt
Sent: Tuesday, November 27, 2007 1:31 PM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] anyone successfully use perl's
HTTP::DAVmodule with ML?
Has anyone been able to use the perl module HTTP::DAV with MarkLogic? I
got it to build and deploy, but I cannot even get it to connect to a
MarkLogic webdav port. It doesn't even prompt for a username and
password.
(I have been able to use the MarkLogic server in windows explorer and
via the cadaver command-line. So I know the webdav server is working.)
In particular, I'm trying to use the "dave" interactive webdav tool
fromt he HTTP::DAV moudle as a first step. Here's the error I get:
$dave http://localhost:8004/
Duplicate specification "man|?" for option "?"
dave -- DAV Explorer (v1.23)
Try "help", or "open http://host.com/dav_enabled_dir/"
** The URL "http://localhost:8004/" is not DAV enabled or not
accessible. **
Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20071127/3680ec5c/attachment.html
More information about the General
mailing list