The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniPresence (http://forums.omnigroup.com/forumdisplay.php?f=73)
-   -   Omnipresence on AWS Ubuntu Virtual Host (http://forums.omnigroup.com/showthread.php?t=29672)

Ben Madin 2013-05-20 09:53 PM

Omnipresence on AWS Ubuntu Virtual Host
 
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>
[/CODE]

e&oe

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

cheers

Ben

dave_m 2013-05-21 11:07 AM

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 07:31 AM.

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