On Aug 19, 2010, at 10:08 AM, Florian Heese wrote:

> 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?
> === 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 ===

Why HTTP authentication on top of it? Let SOGo handle authentication.

Also, what do you see in your sogod and httpd logs when AB.app tries to access 
port 8843?


Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Reply via email to