Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th September 2010, 19:56
dqlevitt dqlevitt is offline
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default davfs does not display webdav structure

I have installed davfs2 and am able to mount a drive:
# mount -t davfs http://myserver:7776/mum/mycontentha.../dav/filestore folder_created_to_display_webdav

I am using TCPMON to monitor the connection (listening on port 7776).

After the mount I cd to folder_created_to_display_webdav and do a dir.

In TCPMON I see the PROPFIND request:

PROPFIND /mum/mycontenthandler/mm/dav/filestore/ HTTP/1.1
Host: 127.0.0.1:7776
User-Agent: davfs2/1.3.3 neon/0.28.6
Connection: TE
TE: trailers
Depth: 1
Content-Length: 314
Content-Type: application/xml
Authorization: Basic YWRtaW46YWRtaW4=

<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<displayname xmlns="DAV:"/>
<getetag xmlns="DAV:"/>
<getcontentlength xmlns="DAV:"/>
<creationdate xmlns="DAV:"/>
<getlastmodified xmlns="DAV:"/>
<resourcetype xmlns="DAV:"/>
<executable xmlns="http://apache.org/dav/props/"/>
</prop></propfind>
PROPFIND /mum/mycontenthandler/mm/dav/filestore/ HTTP/1.1
Host: 9.76.64.245:7776
User-Agent: davfs2/1.3.3 neon/0.28.6
Connection: TE
TE: trailers
Depth: 0
Content-Length: 159
Content-Type: application/xml
Authorization: Basic YWRtaW46YWRtaW4=

The response looks normal. That is, it is finding all the correct information in the WebDAV hierarchy (see below).

But the result of the "dir" command (in folder_created_to_display_webdav) only displays LOST + FOUND.

Why is it not displays the data returned from the PROPFIND?

Thanks.

- Dave

************

here's the PROPFIND response:

<?xml version="1.0" encoding="UTF-8"?>

<dav:multistatus xmlns:dav="DAV:">

<dav:response>

<dav:href>/mum/mycontenthandler/mm/dav//</dav:href>
<dav:propstat>
<dav:prop>
<dav:getlastmodified>Wed, 15 Sep 2010 21:01:53 GMT</dav:getlastmodified>
<dav:getcontentlength>0</dav:getcontentlength>
<dav:resourcetype><dav:collection/></dav:resourcetype>
<dav:creationdate>2010-09-15T21:01:53.234Z</dav:creationdate>
</dav:prop>
<dav:status>HTTP/1.1 200 OK</dav:status>
</dav:propstat>

<dav:propstat>
<dav:prop>
<dav:getetag/>
<dav:displayname/>
</dav:prop>
<dav:status>HTTP/1.1 404 Not Found</dav:status>
</dav:propstat>

</dav:response>


<dav:response>
<dav:href>/mum/mycontenthandler/mm/dav//_users/</dav:href>
<dav:propstat>
<dav:prop>
<dav:getlastmodified>Wed, 15 Sep 2010 21:02:15 GMT</dav:getlastmodified>
<dav:getcontentlength>0</dav:getcontentlength>
<dav:resourcetype><dav:collection/></dav:resourcetype>
<dav:creationdate>2010-09-15T21:02:15.656Z</dav:creationdate>
</dav:prop>
<dav:status>HTTP/1.1 200 OK</dav:status>
</dav:propstat>

<dav:propstat>
<dav:prop>
<dav:getetag/>
<dav:displayname/>
</dav:prop>
<dav:status>HTTP/1.1 404 Not Found</dav:status>
</dav:propstat>

</dav:response>


<dav:response>

<dav:href>/mum/mycontenthandler/mm/dav//access-control.xml</dav:href>
<dav:propstat>
<dav:prop>
<dav:getlastmodified>Wed, 15 Sep 2010 21:01:53 GMT</dav:getlastmodified>
<dav:getcontentlength>561</dav:getcontentlength>
<dav:resourcetype/>
<dav:creationdate>2010-09-15T21:01:53.296Z</dav:creationdate>
</dav:prop>
<dav:status>HTTP/1.1 200 OK</dav:status>
</dav:propstat>

<dav:propstat>
<dav:prop>
<dav:getetag/>
<dav:displayname/>
</dav:prop>
<dav:status>HTTP/1.1 404 Not Found</dav:status>
</dav:propstat>

</dav:response>


<dav:response>
<dav:href>/mum/mycontenthandler/mm/dav//layout-templates/</dav:href>
<dav:propstat>
<dav:prop>
<dav:getlastmodified>Wed, 15 Sep 2010 21:02:02 GMT</dav:getlastmodified>
<dav:getcontentlength>0</dav:getcontentlength>
<dav:resourcetype><dav:collection/></dav:resourcetype>
<dav:creationdate>2010-09-15T21:02:02.921Z</dav:creationdate>
</dav:prop>
<dav:status>HTTP/1.1 200 OK</dav:status>
</dav:propstat>

<dav:propstat>
<dav:prop>
<dav:getetag/>
<dav:displayname/>
</dav:prop>
<dav:status>HTTP/1.1 404 Not Found</dav:status>
</dav:propstat>

</dav:response>


<dav:response>

<dav:href>/mum/mycontenthandler/mm/dav//public/</dav:href>
<dav:propstat>
<dav:prop>
<dav:getlastmodified>Wed, 15 Sep 2010 21:02:05 GMT</dav:getlastmodified>
<dav:getcontentlength>0</dav:getcontentlength>
<dav:resourcetype><dav:collection/></dav:resourcetype>
<dav:creationdate>2010-09-15T21:02:05.078Z</dav:creationdate>
</dav:prop>
<dav:status>HTTP/1.1 200 OK</dav:status>
</dav:propstat>

<dav:propstat>
<dav:prop>
<dav:getetag/>
<dav:displayname/>
</dav:prop>
<dav:status>HTTP/1.1 404 Not Found</dav:status>
</dav:propstat>
</dav:response>

<dav:response>
<dav:href>/mum/mycontenthandler/mm/dav//common-resources/</dav:href>
<dav:propstat>
<dav:prop>
<dav:getlastmodified>Wed, 15 Sep 2010 21:01:53 GMT</dav:getlastmodified>
<dav:getcontentlength>0</dav:getcontentlength>
<dav:resourcetype><dav:collection/></dav:resourcetype>
<dav:creationdate>2010-09-15T21:01:53.546Z</dav:creationdate>
</dav:prop>
<dav:status>HTTP/1.1 200 OK</dav:status>
</dav:propstat>

<dav:propstat>
<dav:prop>
<dav:getetag/>
<dav:displayname/>
</dav:prop>
<dav:status>HTTP/1.1 404 Not Found</dav:status>
</dav:propstat>

</dav:response>

</dav:multistatus>
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fix WebDAV with PHP (files execute instead of GET) Steveorevo Developers' Forum 2 26th August 2011 10:56
Fedora 13 Webdav Nymus Server Operation 1 23rd July 2010 18:16
Vhosts...conf not synced to changes crypted General 50 24th April 2010 01:54
Webdav + quota access to web's root patch krakoukas Tips/Tricks/Mods 5 8th September 2008 19:21
phpmyadmin error lifeisboost Installation/Configuration 9 14th August 2008 20:19


All times are GMT +2. The time now is 11:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.