diff --git a/index.php b/index.php
index 46dc990af68fb2c04b795b44b5491301228266ea..a804a25d95b23200c7ef1c71d3c8d328a2b59a5d 100644
--- a/index.php
+++ b/index.php
@@ -40,6 +40,11 @@ elseif($not_installed OR $install_called) {
 	require_once('setup.php');
 }
 
+if($_SERVER['REQUEST_METHOD']=='PROPFIND'){//handle webdav
+	header('location: '.OC_Helper::linkTo('files','webdav.php'));
+	exit();
+}
+
 // Someone is logged in :
 elseif(OC_User::isLoggedIn()) {
 	if(isset($_GET["logout"]) and ($_GET["logout"])) {