Hi Edgar,
On 2015-07-22 5:21 AM, Edgar Jung wrote:
> Further more Information:
>
> If I open MS Word and open the document by
> FILE->OPEN
http://webdav.elro.local/dav.php - the document opens
> perfectely without write protection.
>
> The behaviour about write protection is observed by using the WEB Page
> Listing ($server->addPlugin(new DAV\Browser\Plugin());) only.
>
That's a very interesting observation. In an ideal world it would be
awesome to have two logs side-by-side, one with and one without the
browser plugin. Perhaps based on the difference we can figure out how to
get things to work with the browser plugin as well.
However, there's a lot of errors in your charles log. It appears that
there's some issues in your configuration regarding how the server is
set up.
A few notes:
1. Either use rewriting or don't use it at all. If you use rewriting,
you should rewrite *every* request to your dav.php and make sure that
the baseUri is set to '/'.
2. There's also references to index.php. Make sure that your server
script does not have an index.php file.
There's a few more notes here:
http://sabre.io/dav/baseuri/
If you have that setup correctly, at the very least we can eliminate
that your problem is related to this.
If the problem persist after that, I would be curious:
1. If it still only works if the browser plugin is disabled.
2. If that's the case, if I could get two separate logs from you,
demonstrating this difference.
With that information I'm confident I can figure out what Office wants
and prepare a workaround.
Thanks very much so far!
Cheers,
Evert