Hi,

I installed sogo-1.3.0.20100817 on debian lenny. With the attached VirtualHost 
config for apache the AddressBook.app works only if I change the CardDAV Port 
(in AB.app) afterwards.

If I create a new CardDAV Account AB.app reports a 500 Error. Changing the 
CardDAV Port afterwards from 8843 => 443 solves the problem and I am able to 
use AB.app via CardDAV with SOGo.

Is there a bug in my VirtualHost config? any hints?

Kind regards

fheese


 
=== SNIP ===
<VirtualHost _default_:8843>
  ServerName example.com
  DocumentRoot /var/www/
  ServerAdmin ad...@example.com
  ErrorLog ios.error_log
  CustomLog ios.access_log combined
  SSLEngine on
  SSLCertificateFile /etc/apache2/ssl/apache.pem

  <Location /SOGo/dav>
    #    Order deny,allow
    #    Deny from all
    Order allow,deny
    Allow from all
    AuthBasicProvider ldap
    AuthType Basic
    AuthName "SOGo"
    AuthzLDAPAuthoritative on
    AuthLDAPURL ldaps://server/ou=users,dc=example,dc=com?uid
    require valid-user

    SetEnv proxy-nokeepalive 1
    RequestHeader unset "x-webobjects-remote-user"
  </Location>
        
  ProxyPass / http://127.0.0.1:20000/SOGo/dav interpolate
                        
  <Proxy http://127.0.0.1:20000/SOGo/dav>
    RequestHeader set "x-webobjects-server-port" "8843"
    RequestHeader set "x-webobjects-server-name" "example.com:8843"
    RequestHeader set "x-webobjects-server-url" "https://example.com:8843";
    RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
    RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
    AddDefaultCharset UTF-8
    Order allow,deny
    Allow from all
  </Proxy>
</Virtualhost>
=== SNAP ===


Am 12.08.2010 um 16:55 schrieb Wolfgang Sourdeau:

> Hi everyone,
> 
> 
> We are please to announce the availability of the feature.
> 
> As mentionned in previous messages on this list, you will need to adapt your 
> Apache configuration for it to work properly.
> 
> You need to create a virtualhost on port 8843 (SSL enabled) and/or 8800 
> (clear) including more or less the same directives as in your current 
> SOGo.conf. The differences are:
> 
> - the "Alias" and "LocationMatch" directives can be removed as the entry will 
> be accessed in DAV only
> - the "ProxyPass" directive must originate from "/" and be targetting 
> "/SOGo/dav"
> - the "Proxy" section remains more or less the same, but you need to adapt 
> the "x-web...-port" appropriatly and add the ":port" to the 
> "x-web...server-url" and "...-server-name" entries
> 
> Also, you need to know that the access is currently limited to the personal 
> addressbook. No other addressbook will be available due to limitations in 
> AddressBook.app itself. Also, we have noticed that contact photos are 
> properly interpreted when set in AB.app and uploaded to SOGo, but they are 
> not the other way around. Again, this is a bug in AB.app and we cannot do 
> anything about it, except for breaking the standards (which we won't).
> 
> As always, enjoy and please report any issue you may face!
> 
> -- 
> Wolfgang Sourdeau  ::  +1 (514) 447-4918 ext. 125  ::  wsourd...@inverse.ca
> Inverse inc. Leaders behind SOGo (sogo.nu) and PacketFence 
> (www.packetfence.org)
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to