Reading the thread on iPhone AB connect I came up with the following virtual
host config that seem to work for all but not for me....
In the end I'm having a warning from apache
[warn] worker http://127.0.0.1:20000/SOGo/dav/ already used by another
worker
that seems to be OK
and
a message from iPhone "Cannot connect using SSL" and not able to verify the
account...
Any ideas?

<VirtualHost mega.local:8843>
    Servername mega.local:8843
    CustomLog /var/log/apache2/access.log combined
    SSLEngine on
    SSLCertificateFile /etc/apache2/ssl/webdav.pem
    SSLCertificateKeyFile /etc/apache2/ssl/webdav.key
    ProxyRequests Off
    SetEnv proxy-nokeepalive 1
    ProxyPreserveHost On
    ProxyPassInterpolateEnv On
    ProxyPass /SOGo/dav/ http://127.0.0.1:20000/SOGo/dav/ interpolate
    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" "mega.local:8843"
  RequestHeader set "x-webobjects-server-url" "https://mega.local: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>


Regards,
Sergei.
***

2011/7/26 Bruno Leon <bruno.l...@nividic.org>

> **
> On 11-07-26 02:06 AM, Sergei Bazhin wrote:
>
> I'm getting the following warning message after adding new virtual host
> (I've created a site in sites-available and enabled it with a2ensite):
> [warn] worker http://127.0.0.1:20000/SOGo/dav/ already used by another
> worker
> and netstat does not show me apache2 is listening on 8843 port...
>
> The warning is normal and does not prevent things to work.
>
> --
> Bruno
>
>
> Maybe there's smth wrong with original SOGo configuration
> Below is my /etc/apache2/conf.d/SOGo.conf file - that's the only one change
> to apache2 config I've made (apache2 is running an SSL site):
>
> Alias /SOGo.woa/WebServerResources/ \
>       /usr/lib/GNUstep/SOGo/WebServerResources/
> Alias /SOGo/WebServerResources/ \
>       /usr/lib/GNUstep/SOGo/WebServerResources/
> AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
>            /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2
>
> <Directory /usr/lib/GNUstep/SOGo/>
>     AllowOverride None
>     Order deny,allow
>     Allow from all
> </Directory>
>
> <LocationMatch
> "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)">
>   SetHandler default-handler
> </LocationMatch>
>
> ProxyRequests Off
> SetEnv proxy-nokeepalive 1
> ProxyPreserveHost On
>
> ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
>
> <Proxy "http://127.0.0.1:20000/SOGo";>
>   RequestHeader set "x-webobjects-server-port" "443"
>   RequestHeader set "x-webobjects-server-name" "megaprom03.local"
>   RequestHeader set "x-webobjects-server-url" "https://megaprom03.local";
>   RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"
>
>   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>
>
>
>
> Regards,
> Sergei.
> ***
>
> 2011/7/25 Jeff Folk <jf...@qzoneinc.com>
>
>> On Jul 25, 2011, at 11:32 AM, <sbaz...@gmail.com> wrote:
>> >
>> > Hi All,
>> > Have just installed SOGo 1.3.8 under UBUNTU and having problems
>> connecting to
>> > address book from iPhone.
>> > Can someone share a SOGo.conf file for Apache2 where address book works
>> with
>> > iPhone over SSL? (I have set up sogo over SSL).
>> > From reading the web I got a feeling that there are some problems with
>> Address
>> > Book sync and it's not working???
>> >
>> > Thank you,
>> > Sergei.
>> > ***
>>
>>
>>  Here's mine... Works with both iPhones and desktop Macs using Address
>> Book. Notice that CardDAV is over port 8843:
>>
>> <VirtualHost 0.0.0.0:8843>
>>  ServerName sme.qzoneinc.com
>>  SSLEngine On
>>  ProxyRequests Off
>>  SetEnv proxy-nokeepalive 1
>>  ProxyPreserveHost On
>>  ProxyPassInterpolateEnv On
>>  ProxyPass /principals http://127.0.0.1:20000/SOGo/dav/ interpolate
>>  ProxyPass /SOGo/dav/ http://127.0.0.1:20000/SOGo/dav/ interpolate
>>  ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate
>>
>> <Proxy http://127.0.0.1:20000>
>>  RequestHeader set "x-webobjects-server-port" "8843"
>>  RequestHeader set "x-webobjects-server-name" "sme.qzoneinc.com:8843"
>>  RequestHeader set "x-webobjects-server-url" "
>> https://sme.qzoneinc.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>--
>>  users@sogo.nu
>> https://inverse.ca/sogo/lists
>>
>
>
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to