Hello all,

Firstly, i'd like to thank those who actively participate in helping solve all 
our problems, your help is inestimably welcome!

That said, i've got an Apache-related riddle...

For reasons that are good and, mostly, bad, i want to avoid the funambol 
approach, both server- and client-side.
i have few enough users that i can make a virtual domain for each one following 
this logic:

username.sogouser.domain.com:8843

the idea being that the above address would actually lead to:

domain.com:8843/SOGo/dav/username/

That way, i could have the users enter the subdomain address form in iCal, 
AddressBook (Mac), iPhone (Cal-and-Card-dav) without ever worrying about having 
to enter the server path (the /SOGo/dav/username/ part that comes after 
domain.com) since half of these apps don't support it...

The problem is that i can't get it to work...

Below is my VirtualDomain config, the fact is, i've no clue what the hell i'm 
doing...(commented lines were tried but failed).

Any help, whatsoever, would be immensely appreciated!
Be Well All!
Peter



<VirtualHost 64.6.243.32:8843>
        ServerName   username.sogouser.domain.com:8843
        ServerAlias     domain.com username.sogouser.domain.com 
username.sogouser.domain.com:8843 domain.com:8843
        ServerAdmin  "[email protected]"
        
                        Alias /SOGo.woa/WebServerResources/ 
/usr/GNUstep/System/Library/SOGo/WebServerResources/
                        Alias /SOGo/WebServerResources/ 
/usr/GNUstep/System/Library/SOGo/WebServerResources/
                        AliasMatch 
/SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) 
/usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2
                        
                        <LocationMatch 
"^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)">
                                SetHandler default-handler
                        </LocationMatch>
                        
                        ProxyPass / http://127.0.0.1:20000/SOGo/dav/username/ 
interpolate
                        ProxyPass /principals 
https://127.0.0.1:20000/SOGo/dav/username/ interpolate
                        ProxyPass /SOGo https://127.0.0.1:20000/SOGo interpolate
                        
                        <Proxy http://127.0.0.1:20000/SOGo/dav/username/>
                        ## adjust the following to your configuration
                          #RequestHeader set "x-webobjects-server-port" "8843"
                          #RequestHeader set "x-webobjects-server-name" 
"domain.com/SOGo/dav/username/"
                          #RequestHeader set "x-webobjects-server-url" 
"https://domain.com/SOGo/dav/username/";
                          ## or
                          ## i've even seen this somewhere:
                          #RequestHeader set "x-webobjects-server-url" 
"https://";
                        
                        ## When using proxy-side autentication, you need to 
uncomment and
                        ## adjust the following line:
                        #  RequestHeader set "x-webobjects-remote-user" 
"%{REMOTE_USER}e"
                        
                        #  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>
                        
        SSLEngine on
        SSLVerifyClient none
        SSLCertificateFile /usr/local/psa/var/certificates/certTyA5848
        
</VirtualHost>




--

"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

Reply via email to