I’ve been working on getting webdav enabled on my webservers at xyonet.com. It’s been a bit of an adventure. My brother is a developer working from a Mac. He’s been having trouble reading the source of PHP files. I’ve looked high and low for a solution and then stumbled across this page: Apache Tips and Tricks

On that page the other give a really simple fix that works really well.

as part of your webdav configuration for the folder simply add, “php_flag engine off”

Who knew?

<Location /webdav>
php_flag engine off
DAV on
...
</Location>

It worked like a charm.