The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Other Omni Software > OmniPresence
FAQ Members List Calendar Today's Posts

 
Omnipresence on AWS Ubuntu Virtual Host Thread Tools Search this Thread Display Modes
G'day,

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

Code:
<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerAdmin webmaster@localhost
        ServerName omni.__yourdomain_.com.au
        DocumentRoot /var/www/omni/
        DavLockDB /var/lock/apache2/DAVLock
        <Location />
                Order Allow,Deny
                Allow from all
                DAV On
                SSLRequireSSL
                AuthType Digest
                AuthName "OmniPresence"
                AuthUserFile "/home/htpasswd.dav"
                Require valid-user
        </Location>
        CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
        ErrorLog ${APACHE_LOG_DIR}/omni.error.log
        LogLevel warn
        SSLEngine on
        SSLCertificateFile    /etc/ssl/certs/_yourcert_.com.au.crt
        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
</VirtualHost>
</IfModule>
e&oe

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

cheers

Ben
 
Thanks for posting this, Ben! I'll add a link to your instructions to the sticky "hosts" thread.
 
 





All times are GMT -8. The time now is 11:59 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.