Researching the PHP modules for Apache on CentOS 5 for WebDAV and how it controls the communication, I did a search for all the HTTPD.CONF files that configure WebDAV.
I found these results:
WebDAV for Zimbra
Code:
/etc/httpd/conf/httpd.conf
175 LoadModule dav_module modules/mod_dav.so
179 LoadModule dav_fs_module modules/mod_dav_fs.so
549 # WebDAV module configuration section.
550 #
551 <IfModule mod_dav_fs.c>
552 # Location of the WebDAV lock database.
553 DAVLockDB /var/lib/dav/lockdb
554 </IfModule>
884 # The following directive disables redirects on non-GET requests for
885 # a directory that does not include the trailing slash. This fixes a
886 # problem with Microsoft WebFolders which does not appropriately handle
887 # redirects for folders with DAV methods.
888 # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
889 #
890 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
891 BrowserMatch "MS FrontPage" redirect-carefully
892 BrowserMatch "^WebDrive" redirect-carefully
893 BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
894 BrowserMatch "^gnome-vfs/1.0" redirect-carefully
895 BrowserMatch "^XML Spy" redirect-carefully
896 BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
/opt/zimbra/conf/httpd.conf
959 # The following directive disables redirects on non-GET requests for
960 # a directory that does not include the trailing slash. This fixes a
961 # problem with Microsoft WebFolders which does not appropriately handle
962 # redirects for folders with DAV methods.
963 # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
964 #
965 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
966 BrowserMatch "^WebDrive" redirect-carefully
967 BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
968 BrowserMatch "^gnome-vfs" redirect-carefully
/opt/zimbra/httpd-2.2.15/conf/httpd.conf
394 # Distributed authoring and versioning (WebDAV)
395 #Include conf/extra/httpd-dav.conf
/opt/zimbra/httpd-2.2.15/conf/original/httpd.conf
393 # Distributed authoring and versioning (WebDAV)
394 #Include conf/extra/httpd-dav.conf
Questions:
- There is no "DAVLockDB /var/lib/dav/lockdb" file being created. lockdb doesn't exist. Should it?
- Should "conf/extra/httpd-dav.conf" file be turned on for WebDAV to work? It's commented out.
Please advise. Thanx in advance.