WebDAV and mod_rewrite

I ran into a little config problem with serendipity and the use of WebDAV for accessing files on my server. Serendipity’s RewriteRule directives screw up the ability access files via WebDAV. Because they are held in a .htaccess file and not in the virtual host definition, they are applied to any access regardless of which host it is accessed under. To limit this I already had ‘AllowOverride none’ for my webdav host, but I also needed to add ‘RewriteEngine off’ for it to actually prevent the rewrites from working. I now have both rewriting and WebDAV access working on the same set of files.