Skip to content
hdweiss edited this page Feb 6, 2012 · 1 revision

NOTE There is a known issue within Android that causes synchronization issues from HTTPS, so please use HTTP if you can

Here is an example Apache configuration:

NameVirtualHost *
<VirtualHost *>

    ServerAdmin [email protected]
    ServerName orgmode.your-domain.org
    #DNS-name if you use such

    DocumentRoot /var/www/org/web
    #Document-root, this is the location where you store your .org-files

    <Directory /var/www/org/web/>
        #Document-root, this is the location where you store your .org-files
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
    </Directory>

    DAVLockDB /usr/local/apache/var/DAVLock
    #Location of your copy of dav

    <Location /var/www/org/web>
    #http://www.emacswiki.org/cgi-bin/wiki/download/apache-mode.el
        DAV On
        AuthType Basic
        AuthName "JohnDoe"
        #Desired username for the account
        AuthUserFile /var/www/org/passwd.dav
        #Location of the password-file
        <Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
            Require valid-user
        </Limit>
    </Location>
</VirtualHost>

You may have to:

a2enmod dav
Clone this wiki locally