Index: server.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webdav/server.inc,v
retrieving revision 1.17
diff -u -p -r1.17 server.inc
--- server.inc	3 Feb 2009 17:20:22 -0000	1.17
+++ server.inc	24 May 2010 11:56:19 -0000
@@ -103,7 +103,7 @@ class DrupalDavServer extends HTTP_WebDA
     $route=webdav_session('route');
     array_push($route, $resource['id']);
     $route[0]=WEBDAV_ROOT_MENU;
-    $file['path'] = webdav_route_to_path($route);
+    $file['path'] = base_path() . webdav_route_to_path($route);
     $file['props'] = array ();
 
     if (!empty($resource['name'])) {
Index: webdav_listing.tpl.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webdav/webdav_listing.tpl.php,v
retrieving revision 1.6
diff -u -p -r1.6 webdav_listing.tpl.php
--- webdav_listing.tpl.php	3 Feb 2009 17:20:22 -0000	1.6
+++ webdav_listing.tpl.php	24 May 2010 11:56:19 -0000
@@ -46,7 +46,7 @@ $title=t("@site - '@folder' WebDAV folde
 	</tr>
 	<tr>
 		<td><img
-			src="/<?php print drupal_get_path('module', 'webdav')."/images/up.png" ?>" /></td>
+			src="<?php print base_path().drupal_get_path('module', 'webdav')."/images/up.png" ?>" /></td>
 		<td><a href=".."><?php print  $root['name']==''?t('Return to @site', array('@site'=>$site)):t('Parent folder') ?></a></td>
 		<td></td>
 		<td></td>
@@ -68,7 +68,7 @@ $title=t("@site - '@folder' WebDAV folde
 	  }
 	  ?>
 	<tr <?php print $count%2==0?"class='a'":""?>>
-		<td><img src="/<?php print $type ?>" /></td>
+		<td><img src="<?php print base_path().$type ?>" /></td>
 		<td><a href="<?php print $_item['id']?>"><?php print  $_item['name'] ?></a></td>
 		<td><?php print  $_item['type']=='collection'?'':$_item['type'] ?></td>
 		<td><?php print  $_item['size'] ?></td>
@@ -86,4 +86,4 @@ $title=t("@site - '@folder' WebDAV folde
 <!-- Haha, I make myself giggle sometime :-) -->
 <div class='powered-by'>
 Powered by <a href="http://drupal.org/projects/webdav" target="_blank">WebDAV Server for Drupal</a>
-</div>
\ No newline at end of file
+</div>
