Grrr... Sorry for the 3rd re-write ;-) i forgot the colon (":") in: ServerName dav.yourdomain.com:443
here is the whole thing again (sorry but Apple's Mail adds the links automatically): PS: it really is just that easy!!! <VirtualHost your_ip:443> ServerName dav.yourdomain.com:443 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> Be Well, Peter On Nov 2, 2011, at 3:47 PM, Peter Zieseniss wrote: > > Just point all of your iOS and Mac OS devices to use: > > dav.yourdomain.com:443 (even the :443 is 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> > > > > > i hope this helps, > Peter > > > > 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é >> -- >> users@sogo.nu >> 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 > pe...@zconsulting.net > -- "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 pe...@zconsulting.net -- users@sogo.nu https://inverse.ca/sogo/lists