Hello Mark and All, Your Apache config works better than i could've even dreamed!!
it works flawlessly on all Apple-branded products (MacOS+iOS) even on multiple virtual domains; what's best is that there is no need for individual subdomains, and no need to specify any kind of server path! (i really, really need to learn regexp!) Thank you so very much Mark! Be Well All! Peter On Jun 1, 2011, at 10:16 AM, Marek Czardybon wrote: > Hello. > > Maybe this will be helpful for you : > > [cut] > > 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" "cal.domain.com" > RequestHeader set "x-webobjects-server-url" "https://cal.domain.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] > > [cut] > > I've create additional virtual server in Apache specially for iPads/iPhones. > This is part of my apache config for them. And it is working perfectly ... > Aliases and directory directives in config are the same as usual > > User have to provide only hostname, user nad password. Without any additional > part of URL :) > > BR > -- > mark -- "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
