The browser Plugin is working well and Show 2 Files
i try Transmit also and get a 400 Bad Request
* What version of libxml do you have? You can check this with phpinfo(). (I have 2.7.8 and 2.8.0 on different systems)
* Do you think you can upgrade this?
Evert
hi - it`s my first time with sabreDav,i try to follow the getting startet but strugglemy structure ist/server.php/public//bin//vendor//lib//data//.htaccessmy server.php looks like<?phpuseSabre\DAV;// Files we needrequire_once 'vendor/autoload.php';// Now we're creating a whole bunch of objects// Change public to something else, if you are using a different directory for your files$rootDirectory = new DAV\FS\Directory('public');// The server object is responsible for making sense out of the WebDAV protocol$server = new DAV\Server($rootDirectory);// If your server is not on your webroot, make sure the following line has the correct information// $server->setBaseUri('/~evert/mydavfolder'); // if its in some kind of home directory// $server->setBaseUri('server.php/'); // if you can't use mod_rewrite, use server.php as a base uri// $server->setBaseUri('/'); // ideally, SabreDAV lives on a root directory with mod_rewrite sending every request to server.php// The lock manager is reponsible for making sure users don't overwrite each others changes. Change 'data' to a different// directory, if you're storing your data somewhere else.$lockBackend = new DAV\Locks\Backend\File('data/locks');$lockPlugin = new DAV\Locks\Plugin($lockBackend);$server->addPlugin($lockPlugin);//$plugin = new \Sabre\DAV\Browser\Plugin();//$server->addPlugin($plugin);// All we need to do now, is to fire up the server$server->exec();?>the error looks like
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\NotImplemented</s:exception>
<s:message>GET is only implemented on File objects</s:message>
<s:sabredav-version>1.8.1</s:sabredav-version>
</d:error>