From caf6f0ec6cdc0a43a7026036b26b54ab944ceafc Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Mon, 11 Feb 2013 10:41:50 -0500 Subject: [PATCH] Add example apache configuration for apple AB --- Apache/SOGo-apple-ab.conf | 26 ++++++++++++++++++++++++++ packaging/debian-multiarch/sogo.docs | 1 + packaging/debian/sogo.docs | 1 + packaging/rhel/sogo.spec | 2 +- 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 Apache/SOGo-apple-ab.conf diff --git a/Apache/SOGo-apple-ab.conf b/Apache/SOGo-apple-ab.conf new file mode 100644 index 000000000..0f5516f6d --- /dev/null +++ b/Apache/SOGo-apple-ab.conf @@ -0,0 +1,26 @@ +# use *:8843 for SSL + + 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" "8800" + RequestHeader set "x-webobjects-server-name" "changethis:8800" + RequestHeader set "x-webobjects-server-url" "http://changethis:8800" + 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 + diff --git a/packaging/debian-multiarch/sogo.docs b/packaging/debian-multiarch/sogo.docs index ded20965f..781cb916d 100644 --- a/packaging/debian-multiarch/sogo.docs +++ b/packaging/debian-multiarch/sogo.docs @@ -3,3 +3,4 @@ TODO Scripts/*.sh Scripts/*.py Scripts/updates.php +Apache/SOGo-apple-ab.conf diff --git a/packaging/debian/sogo.docs b/packaging/debian/sogo.docs index ded20965f..781cb916d 100644 --- a/packaging/debian/sogo.docs +++ b/packaging/debian/sogo.docs @@ -3,3 +3,4 @@ TODO Scripts/*.sh Scripts/*.py Scripts/updates.php +Apache/SOGo-apple-ab.conf diff --git a/packaging/rhel/sogo.spec b/packaging/rhel/sogo.spec index f283fd153..92eda7faa 100644 --- a/packaging/rhel/sogo.spec +++ b/packaging/rhel/sogo.spec @@ -252,7 +252,7 @@ rm -fr ${RPM_BUILD_ROOT} %config(noreplace) %{_sysconfdir}/cron.d/sogo %config(noreplace) %{_sysconfdir}/httpd/conf.d/SOGo.conf %config(noreplace) %{_sysconfdir}/sysconfig/sogo -%doc ChangeLog NEWS Scripts/*sh Scripts/*py Scripts/updates.php +%doc ChangeLog NEWS Scripts/*sh Scripts/*py Scripts/updates.php Apache/SOGo-apple-ab.conf %files -n sogo-tool %{_sbindir}/sogo-tool