Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A2EE4371 for ; Wed, 8 Jun 2011 14:16:05 +0000 (UTC) Received: (qmail 75195 invoked by uid 500); 8 Jun 2011 14:16:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 75176 invoked by uid 500); 8 Jun 2011 14:16:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 75168 invoked by uid 99); 8 Jun 2011 14:16:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 14:16:01 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 208.89.132.143 is neither permitted nor denied by domain of jeff@shearer-family.org) Received: from [208.89.132.143] (HELO outbound003.roc2.bluetie.com) (208.89.132.143) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 14:15:54 +0000 Received: from web003.roc2.bluetie.com ([10.200.2.8]) by outbound003.roc2.bluetie.com with bizsmtp id tSFY1g0090ANDLA01SFYhk; Wed, 08 Jun 2011 10:15:32 -0400 X-CMAE-OUT-Analysis: v=1.1 cv=lAKDPByjijhN0gBJQD5+Vsl7G+0kupC27DJXw5JwMi8= c=1 sm=1 a=D0SytvpOvpwA:10 a=ryVC83YqJTgA:10 a=IkcTkHD0fZMA:10 a=GTa4VFWMAAAA:8 a=mV9VRH-2AAAA:8 a=dKcISW_5euuCzRbdBOMA:9 a=LH4jOLuoYjeDnXq_2PAA:7 a=QEXdDO2ut3YA:10 a=BSNjd8G5NXsA:10 a=fY6PUGLiBD0A:10 a=+8qXc097eLrkhNZCekYbQQ==:117 X-CMAE-OUT-Score: 0.00 Received: from web003.roc2.bluetie.com (localhost.localdomain [127.0.0.1]) by web003.roc2.bluetie.com (Postfix) with ESMTP id C2DD810380D2 for ; Wed, 8 Jun 2011 10:15:32 -0400 (EDT) Message-ID: <20110608101532.22814@web003.roc2.bluetie.com> X-HTTP-Received: from jeff.rcomssfibe7504 [98.172.25.180] by web003.roc2.bluetie.com (BlueTie WebMail ); Wed, 08 Jun 2011 10:15:32 -0400 X-Mailer: BlueTie MTA Date: Wed, 08 Jun 2011 10:15:32 -0400 Cc: To: users@httpd.apache.org From: "Jeff Shearer" Importance: normal Content-transfer-encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Trouble implementing webdav on FreeBSD My problem seems to be with file permissions. I have been able to mount the= shared directory and open the file. However, when I try to save the edited= file, I cannot. The file permissions seem wide open to me. I tried runnin= g litmus but received the error "Server must allow MKCOL." Any suggestions?= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Jeff Shearer, CISA, CISSP -----Original Message----- From: "Jeff Shearer" [jeff@shearer-family.org] Date: 06/06/2011 12:02 PM To: users@httpd.apache.org Subject: [users@httpd] Trouble implementing webdav on FreeBSD Thanks again for your help. This is my first attempt to implement WebDav. I am using FreeBSD 7.2 and Ap= ache 2.2.11. I am using cadaver on my Ubuntu 11.4 32 bit desktop. I am abl= e to connect to the server from the CLI. When I type in =E2=80=9Cls=E2=80= =9D I see my file, test.txt with a little star to the left. I have no idea = what that means. When I try to edit test.txt, I see the message, =E2=80=9CLo= cking `test.txt': failed: 500 Internal Server Error .=E2=80=9D When I review my apache error log, I see the following entries: [Mon Jun 06 14:24:25 2011] [error] [client 192.168.9.88] Could not LOCK /sha= re/test.txt due to a failed precondition (e.g. other locks). [500, #0] [Mon Jun 06 14:24:25 2011] [error] [client 192.168.9.88] The locks could not= be queried for verification against a possible "If:" header. [500, #0] [Mon Jun 06 14:24:25 2011] [error] [client 192.168.9.88] Could not open the = lock database. [500, #400] [Mon Jun 06 14:24:25 2011] [error] [client 192.168.9.88] (13)Permission deni= ed: Could not open property database. [500, #1] Configuration snipits =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D The directory I am using for the share where files are stored has these perm= issions initially: drwxr-xr-x 2 root mygroup 512 Jun 6 12:43 share Even though I changed the directory permissions as follows, I still get the = same errors: drwxrwxrwx 2 www www 512 Jun 6 12:43 share The test file within that directory is wide open with the following permissi= ons: -rwxrwxrwx 1 www www 51 Jun 6 12:43 test.txt I have added the alias =E2=80=9Cshare=E2=80=9D in the virtual host: Alias /share /files/share And configured the directory like this: Dav on Options +Includes +Indexes AuthType Basic AuthName "Development site" AuthUserFile /files/auth/passwords = AuthGroupFile /files/auth/accessgroups Require group AuthorizedUsers Within the virtual host container I have set the Lock DB: DavLockDB /usr/local/etc/apache22/DavLock = Permissions on the Lock DB directory are wide open: drwxrwxrwx 2 www www 512 Jun 6 12:27 DavLock I have played around enabling and disabling mod_unique_id.so. When enabled,= I cannot connect to the server using cadaver. Here are the mods that I have configured to load (mod_unique_id.so is not en= abled) LoadModule authn_file_module libexec/apache22/mod_authn_file.so LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so LoadModule authn_default_module libexec/apache22/mod_authn_default.so LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so LoadModule authz_host_module libexec/apache22/mod_authz_host.so LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so LoadModule authz_user_module libexec/apache22/mod_authz_user.so LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so LoadModule authz_default_module libexec/apache22/mod_authz_default.so LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so LoadModule file_cache_module libexec/apache22/mod_file_cache.so LoadModule cache_module libexec/apache22/mod_cache.so LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so LoadModule dumpio_module libexec/apache22/mod_dumpio.so LoadModule include_module libexec/apache22/mod_include.so LoadModule filter_module libexec/apache22/mod_filter.so LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so LoadModule deflate_module libexec/apache22/mod_deflate.so LoadModule log_config_module libexec/apache22/mod_log_config.so LoadModule logio_module libexec/apache22/mod_logio.so LoadModule env_module libexec/apache22/mod_env.so LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so LoadModule expires_module libexec/apache22/mod_expires.so LoadModule headers_module libexec/apache22/mod_headers.so LoadModule usertrack_module libexec/apache22/mod_usertrack.so #LoadModule unique_id_module libexec/apache22/mod_unique_id.so LoadModule setenvif_module libexec/apache22/mod_setenvif.so LoadModule version_module libexec/apache22/mod_version.so LoadModule ssl_module libexec/apache22/mod_ssl.so LoadModule mime_module libexec/apache22/mod_mime.so LoadModule dav_module libexec/apache22/mod_dav.so LoadModule status_module libexec/apache22/mod_status.so LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule asis_module libexec/apache22/mod_asis.so LoadModule info_module libexec/apache22/mod_info.so LoadModule cgi_module libexec/apache22/mod_cgi.so LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so LoadModule negotiation_module libexec/apache22/mod_negotiation.so LoadModule dir_module libexec/apache22/mod_dir.so LoadModule imagemap_module libexec/apache22/mod_imagemap.so LoadModule actions_module libexec/apache22/mod_actions.so LoadModule speling_module libexec/apache22/mod_speling.so LoadModule userdir_module libexec/apache22/mod_userdir.so LoadModule alias_module libexec/apache22/mod_alias.so LoadModule rewrite_module libexec/apache22/mod_rewrite.so LoadModule perl_module libexec/apache22/mod_perl.so --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org