emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* DAV config for mobileorg
@ 2010-06-18 12:23 Greg Troxel
  2010-06-18 18:41 ` Matthew Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Troxel @ 2010-06-18 12:23 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1023 bytes --]


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"
<Directory "/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

    <Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
        Require valid-user
    </Limit>
</Directory>


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.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DAV config for mobileorg
  2010-06-18 12:23 DAV config for mobileorg Greg Troxel
@ 2010-06-18 18:41 ` Matthew Jones
  2010-06-25 20:04   ` news
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Jones @ 2010-06-18 18:41 UTC (permalink / raw)
  To: Greg Troxel; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1608 bytes --]

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 <gdt@ir.bbn.com> 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"
> <Directory "/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
>
>    <Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK
> UNLOCK>
>        Require valid-user
>    </Limit>
> </Directory>
>
>
> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 2473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DAV config for mobileorg
  2010-06-18 18:41 ` Matthew Jones
@ 2010-06-25 20:04   ` news
  0 siblings, 0 replies; 3+ messages in thread
From: news @ 2010-06-25 20:04 UTC (permalink / raw)
  To: emacs-orgmode

Matthew Jones <bsdmatburt@gmail.com> writes:

> 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.

Dropbox support would be VERY welcome.
In the meantime, is there any way I can just copy my org files across
from my computer and read them with your app? I tried copying them into
/sdcard/mobileorg/ but they didn't show up in MobileOrg.

-- 
aleblanc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-25 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-18 12:23 DAV config for mobileorg Greg Troxel
2010-06-18 18:41 ` Matthew Jones
2010-06-25 20:04   ` news

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).