I think it would be a boon if the config below could be added to the official
documentation, you will find its original author by searching through this
list's archive
Point all of your iOS and Mac OS devices to use:
dav.yourdomain.com:443 (the :443 is even optional!!)
and just add this to your http.d config (remember to change yourdomain.com and
your_ip to the proper values):
<VirtualHost your_ip:443>
ServerName dav.yourdomain.com443
RewriteEngine On
RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
ProxyPassInterpolateEnv On
ProxyPreserveHost On
ProxyPass /proxy 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
<Proxy http://127.0.0.1:20000/SOGo>
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "dav.yourdomain.com"
RequestHeader set "x-webobjects-server-url"
"https://dav.yourdomain.com"
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e
env=REMOTE_HOST
AddDefaultCharset UTF-8
Order allow,deny
Allow from all
</Proxy>
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
</VirtualHost>
On Nov 2, 2011, at 3:19 PM, André Schild wrote:
> Am 02.11.2011 15:17, schrieb Imo Graf:
>> The documentation use the port 8800 and this I have configured and it don't
>> work. To configure the vhost with ssl is no the documentation left.
>
> General configuration of apache for SSL is somewhat out of the scope of this
> list....
>
> When SSLEngine is not recognized by apache, then this means you don't have
> installed/enable the apache ssl module.
>
> André
> --
> [email protected]
> https://inverse.ca/sogo/lists
--
"My candle burns at both ends;
It will not last the night;
But ah, my foes, and oh, my friends
It gives a lovely light!"
— Edna St. Vincent Millay
--
Peter Zieseniss
Principal
http://www.zconsulting.net
[email protected]
--
[email protected]
https://inverse.ca/sogo/lists