Here's the config (less the shared SSL config common to port 443):

# For iOS and OSX 10.6 AddressBook                                             

Listen 8843                                                                    

                                                                               

<VirtualHost _default_:8843>                                                   

  SSLEngine On                                                                 

  RewriteEngine On                                                             

  RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]                          

  RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]        

                                                                               

#  ProxyRequests Off                                                           

#  SetEnv proxy-nokeepalive 1                                                  

  ProxyPreserveHost On                                                         

  ProxyPassInterpolateEnv 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" "8843"                        

    RequestHeader set "x-webobjects-server-name" "(myhost):8843"          
    RequestHeader set "x-webobjects-server-url" "https://(myhost):8843"   
    RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"                

    RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e               

    AddDefaultCharset UTF-8                                                    

    Order allow,deny                                                           

    Allow from all                                                             

  </Proxy>                                                                     

  ErrorLog /var/log/httpd/ab-error.log                                         

  CustomLog /var/log/httpd/ab-access.log combined                              

</VirtualHost>                                                                  
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to