Has anyone managed to get WebDAV working correctly on their (sub)domain? I am 
having trouble getting the writes to work at all (Read works fine).

I suspect that this is a permissions issue for Apache on shelob, but I can’t be 
sure.

 

Anyone have any ideas?

 

Thanks!

-srikanth

 

From: HCoop-SysAdmin <[email protected]> on behalf of 
Srikanth Sastry <[email protected]>
Reply-To: HCoop system administration discussion 
<[email protected]>
Date: Thursday, January 31, 2019 at 2:54 PM
To: HCoop system administration discussion <[email protected]>
Subject: [HCoop-SysAdmin] WebDAV writes not working

 

Hi,

I am trying to get WebDAV working on https://dav.sastry.name/

The read works fine, but when I try to write to it, I get a 500 error.

Here is what I have so far. Any ideas on what’s wrong and how to fix it?

 

 

The error log says

[Thu Jan 31 11:16:35.000988 2019] [dav:error] [pid 6333] [client 
209.6.196.132:62092] The locks could not be queried for verification against a 
possible "If:" header.  [500, #0]

[Thu Jan 31 11:16:35.001020 2019] [dav:error] [pid 6333] [client 
209.6.196.132:62092] Could not open the lock database.  [500, #400]

[Thu Jan 31 11:16:35.001025 2019] [dav:error] [pid 6333] (120002)APR does not 
understand this error code: [client 209.6.196.132:62092] Could not open 
property database.  [500, #1]

 

It appears to be a permission issue for apache.

 

afs permissions for the directory are:

sastry@marsh:~/public_html$ fs la dav

Access list for dav is

Normal rights:

  system:administrators rlidwka

  system:anyuser rl

  sastry rlidwka

  sastry.daemon rlidwka

sastry@marsh:~/public_html$

 

The unix permissions are:

sastry@marsh:~/public_html/dav$ ls -al

total 6

drwxrwxrwx 3 sastry nogroup 2048 Jan 30 17:08 .

drwxr-xr-x 9 sastry nogroup 2048 Jan 28 13:43 ..

drwxrwxrwx 2 sastry nogroup 2048 Jan 30 17:08 joplin

sastry@marsh:~/public_html/dav$

 

 

My corresponding domtool config is at 
/afs/hcoop.net/user/s/sa/sastry/.domtool/sastry.name

The relevant stanza is:

  web "dav" with

    rewriteRule "^(.*)$" "https://dav.sastry.name$1"; [redirectWith permanent];

  end;

  web "dav" where

    DocumentRoot = home "public_html/dav";

    SSL = use_cert "/etc/apache2/ssl/user/dav.sastry.name.pem";

  with

    addDefaultCharset "utf-8";

    location "/" with

      authType basic;

      authName "Sastry WebDAV";

      authUserFile (home "web_auth/self.passwd");

      requireValidUser;

      davFilesystem;

    end;

  end;

 

 

Any idea what’s going wrong here?

 

Thanks!

--srikanth

 

_______________________________________________ HCoop-SysAdmin mailing list 
[email protected] https://lists.hcoop.net/listinfo/hcoop-sysadmin 

_______________________________________________
HCoop-Discuss mailing list
[email protected]
https://lists.hcoop.net/listinfo/hcoop-discuss

Reply via email to