From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Jones Subject: Re: DAV config for mobileorg Date: Fri, 18 Jun 2010 14:41:40 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0583083459==" Return-path: Received: from [140.186.70.92] (port=53440 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPgVv-0002sv-PT for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 14:42:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPgVu-0006zN-36 for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 14:42:03 -0400 Received: from mail-qy0-f169.google.com ([209.85.216.169]:47065) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPgVt-0006zE-Vr for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 14:42:02 -0400 Received: by qyk4 with SMTP id 4so179772qyk.0 for ; Fri, 18 Jun 2010 11:42:01 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Greg Troxel Cc: emacs-orgmode@gnu.org --===============0583083459== Content-Type: multipart/alternative; boundary=00c09f905df6773eef0489524fe3 --00c09f905df6773eef0489524fe3 Content-Type: text/plain; charset=ISO-8859-1 I've actually just been using python's pywebdav: http://code.google.com/p/pywebdav/ running on my VPS. I plan to just use this until I get Dropbox (or something like it) support integrated. 73, Matthew W. Jones (KI4ZIB) http://matburt.net On Fri, Jun 18, 2010 at 8:23 AM, Greg Troxel wrote: > > I have this 99% working, but I'm unclear on what the permission plan > should be. My apache 2.2 config is > > DavLockDB "/usr/pkg/var/DavLock" > Alias /org/gdt "/home/gdt/ORG" > > Options Indexes > > AllowOverride AuthConfig > Order allow,deny > Allow from all > > DAV On > > AuthType Digest > AuthName "org/gdt" > AuthUserFile /home/gdt/ORG/.htpasswd > > UNLOCK> > Require valid-user > > > > > I've set up ~/ORG to be 770 gdt.www, and mobileorg.org 660, so that > apache can write to it. According to apache docs, I should have all > this data owned by the apache user, and not be reading/writing it with > scp/etc. > > http://httpd.apache.org/docs/2.2/mod/mod_dav.html > > I would like to have a second mobileorg user on this system, and have > apache access both files via .htpasswd digest auth, and the system > prevent each user from reading the others. > > Am I confused about this? Any hints appreciated. > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > --00c09f905df6773eef0489524fe3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've actually just been using python's pywebdav:=A0http://code.google.com/p/pywebdav/
<= br>
running on my VPS. =A0 I plan to just use this until I get Dr= opbox (or something like it) support integrated.

73,
Matthew W. Jones (KI4ZIB)
http://matburt.net


On Fri, Jun 18, 2010 at 8:23 AM, Greg Tr= oxel <gdt@ir.bbn.com= > wrote:

I have this 99% working, but I'm unclear on what the permission plan should be. =A0My apache 2.2 config is

DavLockDB "/usr/pkg/var/DavLock"
Alias /org/gdt "/home/gdt/ORG"
<Directory "/home/gdt/ORG">
=A0 =A0Options Indexes

=A0 =A0AllowOverride AuthConfig
=A0 =A0Order allow,deny
=A0 =A0Allow from all

=A0 =A0DAV On

=A0 =A0AuthType Digest
=A0 =A0AuthName "org/gdt"
=A0 =A0AuthUserFile /home/gdt/ORG/.htpasswd

=A0 =A0<Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LO= CK UNLOCK>
=A0 =A0 =A0 =A0Require valid-user
=A0 =A0</Limit>
</Directory>


I've set up ~/ORG to be 770 gdt.www, and mobileorg.org 660, so that
apache can write to it. =A0According to apache docs, I should have all
this data owned by the apache user, and not be reading/writing it with
scp/etc.

=A0http://httpd.apache.org/docs/2.2/mod/mod_dav.html

I would like to have a second mobileorg user on this system, and have
apache access both files via .htpasswd digest auth, and the system
prevent each user from reading the others.

Am I confused about this? =A0Any hints appreciated.

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


--00c09f905df6773eef0489524fe3-- --===============0583083459== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0583083459==--