View Single Post

For those who want their own WebDav for OmniPresence, this virtual site file works for us on an AWS Ubuntu 12.04 server with apache (or has, during the beta test phase). This appears to be an economical way to create a company sync server. (we also use the omni one, but didn't want to wear out our welcome!)

You will, of course, require a /var/www/omni directory, a certificate (if you want ssl) and a digest password file. Don't forget to grant rwx to www-data on the entire directory and apachectl graceful before posting error reports...

<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/omni/
        DavLockDB /var/lock/apache2/DAVLock
        <Location />
                Order Allow,Deny
                Allow from all
                DAV On
                AuthType Digest
                AuthName "OmniPresence"
                AuthUserFile "/home/htpasswd.dav"
                Require valid-user
        CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
        ErrorLog ${APACHE_LOG_DIR}/omni.error.log
        LogLevel warn
        SSLEngine on
        SSLCertificateFile    /etc/ssl/certs/
        SSLCertificateKeyFile /etc/ssl/private/_yourkey_.key
        SSLCACertificatePath  /etc/ssl/certs/    # where you put the ca bundle if required
        SSLProtocol ALL -SSLv2
        SSLHonorCipherOrder On
        SSLCipherSuite AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
        SSLCompression Off
        BrowserMatch "MSIE [2-6]" \
                nokeepalive ssl-unclean-shutdown \
                downgrade-1.0 force-response-1.0
        BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown

It might save someone some time, it may be that it can be done more efficiently.