From 9289615996ef9b6fd72a7a16be1cc3e1f73e8dce Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Thu, 17 Oct 2013 11:45:07 -0400 Subject: [PATCH] Added https vhost example for apple carddav --- Apache/SOGo-apple-ab.conf | 50 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/Apache/SOGo-apple-ab.conf b/Apache/SOGo-apple-ab.conf index 0f5516f6d..9c42bf1cd 100644 --- a/Apache/SOGo-apple-ab.conf +++ b/Apache/SOGo-apple-ab.conf @@ -1,4 +1,52 @@ -# use *:8843 for SSL +# +# +# Keep only one of those vhost definition, comment out the other one +# +# + +# for https +# don't forget to add a Listen parameter for port 8843: +# Listen 8843 + + ServerName YOUR.SERVER.NAME + + SSLEngine on + + SSLProtocol -ALL +SSLv3 +TLSv1 + SSLHonorCipherOrder On + SSLCipherSuite HIGH:MEDIUM:!ADH:!aNULL:!eNULL:!NULL + SSLCertificateFile /path/to/your/cert/cert.pem + SSLCertificateChainFile /path/to/your/cert/cert-chain-file.pem + SSLCertificateKeyFile /path/to/your/key/file.key + + RewriteEngine Off + ProxyRequests Off + SetEnv proxy-nokeepalive 1 + ProxyPreserveHost On + ProxyPassInterpolateEnv On + ProxyPass /principals http://127.0.0.1:20000/SOGo/dav/ interpolate + ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate + ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate + + Order allow,deny + Allow from all + + + + RequestHeader set "x-webobjects-server-port" "8843" + RequestHeader set "x-webobjects-server-name" "CHANGETHIS:8843" + RequestHeader set "x-webobjects-server-url" "http://CHANGETHIS:8843" + RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" + AddDefaultCharset UTF-8 + + + ErrorLog /var/log/apache2/ab-error.log + CustomLog /var/log/apache2/ab-access.log combined + + +# plain http +# Same here, don't forget to add a Listen parameter for port 8800: +# Listen 8800 RewriteEngine Off ProxyRequests Off