Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-29 Thread Marek Czardybon

On 28.07.2011 14:52, Sergei Bazhin wrote:



So my apache config has three parts -- listen 8843 (make sure it is in 
the SSL Global Context directives, too), NameVirtualHost 0.0.0.0:8843 
http://0.0.0.0:8843/, and the VirtualHost section I posted earlier.
Not sure what is SSL Global Context directives - I've set up  both 
listen 443 and listen 8843 inside ssl.conf file within IfModule 
mod_ssl.c



ehlo.a.

guys : why are you using port 8843 ? default port for Iphone CalDAV 
clients is 8443 ... Maybe this is error. If you have used in you apache 
config port 8843 the you have to provide this port

also in Iphone/Ipad configuration ...

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-29 Thread Marek Czardybon

On 29.07.2011 08:39, Marek Czardybon wrote:

On 28.07.2011 14:52, Sergei Bazhin wrote:



So my apache config has three parts -- listen 8843 (make sure it is 
in the SSL Global Context directives, too), NameVirtualHost 
0.0.0.0:8843 http://0.0.0.0:8843/, and the VirtualHost section I 
posted earlier.
Not sure what is SSL Global Context directives - I've set up  both 
listen 443 and listen 8843 inside ssl.conf file within IfModule 
mod_ssl.c



ehlo.a.

guys : why are you using port 8843 ? default port for Iphone CalDAV 
clients is 8443 ... Maybe this is error. If you have used in you 
apache config port 8843 the you have to provide this port

also in Iphone/Ipad configuration ...

BR
--
marek

ehlo.a.

sorry for my previous post ( I've not drinked my coffe jet :)...

defaults port for Iphone :

8443 for CalDAV calendaring

8843 for CardDAV contacts

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-29 Thread André Schild

Hello together,

would someone with a working iOS integration
please add the required/recommended server
configurations to the wiki ?

http://wiki.sogo.nu/iOS

André

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


Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-29 Thread Marek Czardybon

On 28.07.2011 14:52, Sergei Bazhin wrote:

Hi Jeff,
Thank you for the guidance. I've even found a post outside of SOGo 
mail archive with exactly the same description 
http://forums.contribs.org/index.php?topic=45658.105
To me this is a mistery - all set up as you say and still CardDAV not 
syncing with iPhone... maybe there's a problem with the Phone??? It is 
iOS 4.1...


DAV support doesn't use the web interface. For that reason, it
really works better being on its own VirtualHost on a separate
port. When you browse to the DAV host, you should get a login
prompt then a blank page.

True - I see the bank screen after login/password prompt

So my apache config has three parts -- listen 8843 (make sure it
is in the SSL Global Context directives, too), NameVirtualHost
0.0.0.0:8843 http://0.0.0.0:8843/, and the VirtualHost section I
posted earlier.

Not sure what is SSL Global Context directives - I've set up  both 
listen 443 and listen 8843 inside ssl.conf file within IfModule 
mod_ssl.c


I see that you are using a .local tld... You know that won't work
over cellular network, right??


Yeap. I'm aware of that.

The result is that I have SOGo web interface working + CalDAV and can 
not get iPhone AB sync with SOGo - error message from the phone - can 
not establish SSL connection and account verification fails.


On apache I only have one SSL site with WebDAV enabled.
Attaching all my apache config files.

I would appreciate any idea to make that working.


ehlo.a.

VirtualHost 0.0.0.0:8843
 ServerName mega.local:8843

In serverName you should not use port number.

BR
--
marek

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-29 Thread Sergei Bazhin
Hi all,
I was looking at apache2 error log and found that
[Fri Jul 29 12:15:13 2011] [error] [client 192.168.7.103] user Sergei not
found: /principals/
[Fri Jul 29 12:15:26 2011] [error] [client 192.168.7.103] user Sergei not
found: /.well-known/carddav

Any clue for the reason?

Regards,
Sergei.
***

2011/7/28 Jeff Folk jf...@qzoneinc.com

 On Jul 28, 2011, at 7:52 AM, Sergei Bazhin wrote:
 
  DAV support doesn't use the web interface. For that reason, it really
 works better being on its own VirtualHost on a separate port. When you
 browse to the DAV host, you should get a login prompt then a blank page.
 
  True - I see the bank screen after login/password prompt

 Does the URL show as httpS?--
 users@sogo.nu
 https://inverse.ca/sogo/lists

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-29 Thread Sergei Bazhin
Thanks to all who provided guidance in this topic! Now both Cal and Card DAV
sync with iPhone are working.
Final change was :
NameVirtualHost 0.0.0.0:8843
VirtualHost 0.0.0.0:8843
and
NameVirtualHost 0.0.0.0:443
VirtualHost 0.0.0.0:443
instead of
NameVirtualHost mega.local:8843
VirtualHost mega.local:8843
and
NameVirtualHost mega.local:443
VirtualHost mega.local:443

Attaching resulting conf files for the history.

Regards,
Sergei.
***


2011/7/29 Sergei Bazhin sbaz...@gmail.com

 Hi all,
 I was looking at apache2 error log and found that
 [Fri Jul 29 12:15:13 2011] [error] [client 192.168.7.103] user Sergei not
 found: /principals/
 [Fri Jul 29 12:15:26 2011] [error] [client 192.168.7.103] user Sergei not
 found: /.well-known/carddav

 Any clue for the reason?

 Regards,
 Sergei.
 ***


 2011/7/28 Jeff Folk jf...@qzoneinc.com

 On Jul 28, 2011, at 7:52 AM, Sergei Bazhin wrote:
 
  DAV support doesn't use the web interface. For that reason, it really
 works better being on its own VirtualHost on a separate port. When you
 browse to the DAV host, you should get a login prompt then a blank page.
 
  True - I see the bank screen after login/password prompt

 Does the URL show as httpS?--
 users@sogo.nu
 https://inverse.ca/sogo/lists





addressbookSSL
Description: Binary data


SOGo.conf
Description: Binary data


webdavSSL
Description: Binary data


Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-29 Thread Sergei Bazhin
Will do over the weekend since had a one week battle with iOS sync :)

Regards,
Sergei.
***

2011/7/29 André Schild an...@schild.ws

 Hello together,

 would someone with a working iOS integration
 please add the required/recommended server
 configurations to the wiki ?

 http://wiki.sogo.nu/iOS

 André

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

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-28 Thread Jeff Folk
On Jul 28, 2011, at 7:52 AM, Sergei Bazhin wrote:
 
 Hi Jeff, 
 Thank you for the guidance. I've even found a post outside of SOGo mail 
 archive with exactly the same 
 descriptionhttp://forums.contribs.org/index.php?topic=45658.105

Yeah, the macwunder posts are me... Alessio, the contribution developer, is on 
this list, as well.

I'm running my SOGo install under SME Server, which is CentOS based. Been a 
while since I dabbled in Debian/Ubuntu, but the conf file structure for apache 
should be the same across the distributions I would think.

 To me this is a mistery - all set up as you say and still CardDAV not syncing 
 with iPhone... maybe there's a problem with the Phone??? It is iOS 4.1...

Our iPhones here are iOS 4.2.1, but I think the only requirement to use CardDAV 
is iOS 4. The MacOS requirement for Address Book sync is 10.6 (Snow Leopard). I 
remember having the same issue with not being able to connect via SSL, and I 
really think it had to do with the placement of my Listen 0.0.0.0:8843 
directive. My solution was to put the directive inside the IfModule mod_ssl.c 
grouping of /etc/httpd/conf/httpd.conf:

 ##
 ##  SSL Global Context Configuration
 ##
 ##  All SSL configuration in this context applies both to
 ##  the main server and all SSL-enabled virtual hosts
 ##(unless overridden by virtual hosts)
 ##
 IfModule mod_ssl.c
 Listen 0.0.0.0:443
 Listen 0.0.0.0:8843
 
 SSLEngine off
 SSLProxyEngine On
 
 # modSSL{CertificateChainFile} not set
 SSLCertificateFile /home/e-smith/ssl.crt/sme.qzoneinc.com.crt
 SSLCertificateKeyFile /home/e-smith/ssl.key/sme.qzoneinc.com.key
 
 SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
 
 SSLPassPhraseDialog  builtin
 
 SSLSessionCache dbm:state/ssl_scache
 
 SSLSessionCacheTimeout  300
 SetEnvIf User-Agent .*MSIE.* nokeepalive ssl-unclean-shutdown downgrade-1.0 
 force-response-1.0
 
 SSLMutex  file:state/ssl_mutex
 
 SSLRandomSeed startup file:/dev/urandom 512
 SSLRandomSeed connect builtin
 
 #SSLLogLevel info
 SSLProtocol all
 /IfModule
 #
 # END OF SSL GLOBAL CONTEXT CONFIGURATION
 #

It has been a few months since I did all this, and my docs are specific to SME 
Server config, but I'm sure that is what it was...

Keep on tryin'!!
Jeff

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-28 Thread Jeff Folk
On Jul 28, 2011, at 7:52 AM, Sergei Bazhin wrote:
 
 DAV support doesn't use the web interface. For that reason, it really works 
 better being on its own VirtualHost on a separate port. When you browse to 
 the DAV host, you should get a login prompt then a blank page.
  
 True - I see the bank screen after login/password prompt

Does the URL show as httpS?-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-28 Thread Sergei Bazhin
Yes. The URL is https. 

On 28.07.2011, at 18:12, Jeff Folk jf...@qzoneinc.com wrote:

 On Jul 28, 2011, at 7:52 AM, Sergei Bazhin wrote:
 
 DAV support doesn't use the web interface. For that reason, it really works 
 better being on its own VirtualHost on a separate port. When you browse to 
 the DAV host, you should get a login prompt then a blank page.
 
 True - I see the bank screen after login/password prompt
 
 Does the URL show as httpS?-- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-28 Thread Bruno Leon

This tends to say that the vhost is not SSL Enabled.

--
Bruno

On 11-07-27 03:23 AM, Sergei Bazhin wrote:
Strange thing - SOMETIMES when I try to connect to 
https://mega.local:8843 via FireFox I got the following message:


An error occurred during a connection to mega.local:8843.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

Restart apache and the error message is gone - I see the blank screen.

Regards,
Sergei.
***

2011/7/27 Sergei Bazhin sbaz...@gmail.com mailto:sbaz...@gmail.com

Hi Mark,
Yeap, I've added 8843 to ports.conf and netstat is showing apache
is listening on 8843.

Sergei.
***


2011/7/27 Mark Adams m...@campbell-lange.net
mailto:m...@campbell-lange.net

Did you do what I said?

On 26 Jul 2011, at 13:55, Sergei Bazhin sbaz...@gmail.com
mailto:sbaz...@gmail.com wrote:


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:2/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:2/SOGo/dav/
interpolate
ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

Proxy http://127.0.0.1:2/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
mailto: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:2/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:2/SOGo retry=0

Proxy http://127.0.0.1:2/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.
***


Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Sergei Bazhin
Strange thing - SOMETIMES when I try to connect to
https://mega.local:8843via FireFox I got the following message:

An error occurred during a connection to mega.local:8843.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

Restart apache and the error message is gone - I see the blank screen.

Regards,
Sergei.
***

2011/7/27 Sergei Bazhin sbaz...@gmail.com

 Hi Mark,
 Yeap, I've added 8843 to ports.conf and netstat is showing apache is
 listening on 8843.

 Sergei.
 ***


 2011/7/27 Mark Adams m...@campbell-lange.net

 Did you do what I said?

 On 26 Jul 2011, at 13:55, Sergei Bazhin sbaz...@gmail.com wrote:

 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:2/SOGo/dav/
 http://127.0.0.1:2/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:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass / http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo/davhttp://127.0.0.1:2/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
 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.orgbruno.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:2/SOGo/dav/
 http://127.0.0.1:2/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:2/SOGohttp://127.0.0.1:2/SOGoretry=0

 Proxy  http://127.0.0.1:2/SOGohttp://127.0.0.1:2/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
 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.comjf...@qzoneinc.com

 On Jul 25, 2011, at 11:32 AM,  sbaz...@gmail.comsbaz...@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 http://sme.qzoneinc.comsme.qzoneinc.com
  SSLEngine On
  ProxyRequests Off
  SetEnv proxy-nokeepalive 1
  ProxyPreserveHost On
  ProxyPassInterpolateEnv On
  ProxyPass 

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Marek Czardybon

On 25.07.2011 18:32, 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.
***

ehlo.a.

Last time I've posted part of my apache config for iPhone/iPad:

Maybe this will be helpful for you :

[cut]

RewriteEngine On
RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
ProxyPassInterpolateEnv On
ProxyPreserveHost On
ProxyPass /proxyhttp://127.0.0.1:2/SOGo/dav/interpolate
ProxyPass /SOGohttp://127.0.0.1:2/SOGointerpolate
ProxyPass /http://127.0.0.1:2/SOGo/dav/interpolate

Proxyhttp://127.0.0.1:2/SOGo
  RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name cal.domain.com 
http://cal.domain.com/

  RequestHeader set x-webobjects-server-urlhttps://cal.domain.com;
  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
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

[cut]

I've create additional virtual server in Apache specially for iPads/iPhones.
This is part of my apache config for them. And it is working perfectly ...
Aliases and directory directives in config are the same as usual

User have to provide only hostname, user nad password. Without any 
additional part of URL :)


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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Khapare Joshi
Marek, thanks for this. I just tried with your config in my test environment
but still comes with error similar with what Sergi been having. Would it be
possible to post full working virtual host section ? Perhaps I am missing
something. My environment is Centos 5 (it should not matter)

K

On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon m.czardy...@tkpsa.plwrote:

 **
 On 25.07.2011 18:32, 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.
 ***

  ehlo.a.

 Last time I've posted part of my apache config for iPhone/iPad:

 Maybe this will be helpful for you :

 [cut]

 RewriteEngine On
 RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
 ProxyPassInterpolateEnv On
 ProxyPreserveHost On
 ProxyPass /proxy http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo
   RequestHeader set x-webobjects-server-port 443
   RequestHeader set x-webobjects-server-name cal.domain.com
   RequestHeader set x-webobjects-server-url 
 https://cal.domain.com;https://cal.domain.com/

   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
 RewriteEngine On
 RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

 [cut]

 I've create additional virtual server in Apache specially for
 iPads/iPhones.
 This is part of my apache config for them. And it is working perfectly ...

 Aliases and directory directives in config are the same as usual

 User have to provide only hostname, user nad password. Without any
 additional part of URL :)

 BR
 --
 marek

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Marek Czardybon

On 27.07.2011 12:05, Khapare Joshi wrote:
Marek, thanks for this. I just tried with your config in my test 
environment but still comes with error similar with what Sergi been 
having. Would it be possible to post full working virtual host section 
? Perhaps I am missing something. My environment is Centos 5 (it 
should not matter)


K

On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon m.czardy...@tkpsa.pl 
mailto:m.czardy...@tkpsa.pl wrote:


On 25.07.2011 18 tel:25.07.2011%2018:32, sbaz...@gmail.com
mailto: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.
***

ehlo.a.

Last time I've posted part of my apache config for iPhone/iPad:

Maybe this will be helpful for you :

[cut]

RewriteEngine On
RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
ProxyPassInterpolateEnv On
ProxyPreserveHost On
ProxyPass /proxyhttp://127.0.0.1:2/SOGo/dav/interpolate
ProxyPass /SOGohttp://127.0.0.1:2/SOGointerpolate

ProxyPass /http://127.0.0.1:2/SOGo/dav/interpolate

Proxyhttp://127.0.0.1:2/SOGo
  RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name cal.domain.com
http://cal.domain.com/
  RequestHeader set
x-webobjects-server-urlhttps://cal.domain.com;
https://cal.domain.com/

  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
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

[cut]

I've create additional virtual server in Apache specially for
iPads/iPhones.
This is part of my apache config for them. And it is working
perfectly ...
Aliases and directory directives in config are the same as usual

User have to provide only hostname, user nad password. Without any
additional part of URL :)

BR
-- 
marek




ehlo.a.

I've attached whole config regarding from apache.
I've changed my hostname to server.domain.com :) and also I've changed 
filenames of my SSL certs ...


BR
--
marek
NameVirtualHost 10.10.10.10:443

VirtualHost 10.10.10.10:443
ServerAdmin i...@domain.com

ServerName server.domain.com

DocumentRoot /var/www
Directory /
Options FollowSymLinks
AllowOverride None
/Directory
Directory /var/www/
Options Indexes FollowSymLinks MultiViews +Includes
AllowOverride None
Order allow,deny
allow from all
/Directory

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Directory /usr/lib/cgi-bin
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
/Directory

ErrorLog /var/log/apache2/ssl_ikal_error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/ssl_ikal_access.log combined

Alias /doc/ /usr/share/doc/
Directory /usr/share/doc/
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
/Directory

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on

#   A self-signed (snakeoil) certificate can be created by installing
#   the ssl-cert package. See
#   /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
#   If both key and certificate are stored in the same file, only the
#   SSLCertificateFile directive is needed.
SSLCertificateFile/etc/apache2/ssl/cert.pem
SSLCertificateKeyFile /etc/apache2/ssl/cert-2048.key

#   Server Certificate Chain:
#   Point SSLCertificateChainFile at a file containing the
#   concatenation of PEM encoded CA certificates which form the
#   certificate chain for the server certificate. Alternatively
#   the referenced file can be the same as SSLCertificateFile
#   when the CA certificates are directly appended to the server
#   certificate for convinience.
SSLCertificateChainFile /etc/apache2/ssl/cert-CA.crt

#   Certificate Authority (CA):
#   Set the 

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Sergei Bazhin
Thank you, Marek.
I don't see in your config 8843 port that is used for CardDAV?
Do you have iPhone phone book synced?

Regards,
Sergei.
***

2011/7/27 Marek Czardybon m.czardy...@tkpsa.pl

 **
 On 27.07.2011 12:05, Khapare Joshi wrote:

 Marek, thanks for this. I just tried with your config in my test
 environment but still comes with error similar with what Sergi been having.
 Would it be possible to post full working virtual host section ? Perhaps I
 am missing something. My environment is Centos 5 (it should not matter)

  K

 On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon m.czardy...@tkpsa.plwrote:

  On 25.07.2011 18:32, 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.
 ***

  ehlo.a.

 Last time I've posted part of my apache config for iPhone/iPad:

 Maybe this will be helpful for you :

 [cut]

 RewriteEngine On
 RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
 ProxyPassInterpolateEnv On
 ProxyPreserveHost On
 ProxyPass /proxy http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo
RequestHeader set x-webobjects-server-port 443
RequestHeader set x-webobjects-server-name cal.domain.com
   RequestHeader set x-webobjects-server-url 
 https://cal.domain.com;https://cal.domain.com/

   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
  RewriteEngine On
 RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

 [cut]

 I've create additional virtual server in Apache specially for
 iPads/iPhones.
 This is part of my apache config for them. And it is working perfectly ...

 Aliases and directory directives in config are the same as usual

 User have to provide only hostname, user nad password. Without any
 additional part of URL :)

 BR
 --
 marek


  ehlo.a.

 I've attached whole config regarding from apache.
 I've changed my hostname to server.domain.com :) and also I've changed
 filenames of my SSL certs ...

 BR
 --
 marek

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Sergei Bazhin
Also one thing about 8843 port - when I go to https://mega.local:8843/SOGo I
get a sogo web interface without any images like on the screen shot
attached.

Regards,
Sergei.
***

2011/7/27 Sergei Bazhin sbaz...@gmail.com

 Thank you, Marek.
 I don't see in your config 8843 port that is used for CardDAV?
 Do you have iPhone phone book synced?

 Regards,
 Sergei.
 ***


 2011/7/27 Marek Czardybon m.czardy...@tkpsa.pl

 **
 On 27.07.2011 12:05, Khapare Joshi wrote:

 Marek, thanks for this. I just tried with your config in my test
 environment but still comes with error similar with what Sergi been having.
 Would it be possible to post full working virtual host section ? Perhaps I
 am missing something. My environment is Centos 5 (it should not matter)

  K

 On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon m.czardy...@tkpsa.plwrote:

  On 25.07.2011 18:32, 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.
 ***

  ehlo.a.

 Last time I've posted part of my apache config for iPhone/iPad:

 Maybe this will be helpful for you :

 [cut]

 RewriteEngine On
 RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
 ProxyPassInterpolateEnv On
 ProxyPreserveHost On
 ProxyPass /proxy http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo
RequestHeader set x-webobjects-server-port 443
RequestHeader set x-webobjects-server-name cal.domain.com
   RequestHeader set x-webobjects-server-url 
 https://cal.domain.com;https://cal.domain.com/

   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
  RewriteEngine On
 RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

 [cut]

 I've create additional virtual server in Apache specially for
 iPads/iPhones.
 This is part of my apache config for them. And it is working perfectly
 ...
 Aliases and directory directives in config are the same as usual

 User have to provide only hostname, user nad password. Without any
 additional part of URL :)

 BR
 --
 marek


  ehlo.a.

 I've attached whole config regarding from apache.
 I've changed my hostname to server.domain.com :) and also I've changed
 filenames of my SSL certs ...

 BR
 --
 marek



attachment: sogo8843.jpg

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Marek Czardybon

On 27.07.2011 13:21, Sergei Bazhin wrote:

Thank you, Marek.
I don't see in your config 8843 port that is used for CardDAV?
Do you have iPhone phone book synced?

Regards,
Sergei.
***


Ehlo.a.

I'm not using port 8843 - just default HTTPS port : 443.
My users syncing both: phone books and calendars ...

In Iphone/Ipad they have to provide only hostname (without any ports or 
additional URL parts ) ex: ical.domain.com

and username  password.

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


Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Sergei Bazhin
I've got some point:
adding this line to my virtual host config scrue up SOGo web interface
ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
Web interface works ok only with the following line:
ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

Any ideas on that?

Regards,
Sergei.
***

2011/7/27 Sergei Bazhin sbaz...@gmail.com

 Also one thing about 8843 port - when I go to https://mega.local:8843/SOGoI 
 get a sogo web interface without any images like on the screen shot
 attached.

 Regards,
 Sergei.
 ***

 2011/7/27 Sergei Bazhin sbaz...@gmail.com

 Thank you, Marek.
 I don't see in your config 8843 port that is used for CardDAV?
 Do you have iPhone phone book synced?

 Regards,
 Sergei.
 ***


 2011/7/27 Marek Czardybon m.czardy...@tkpsa.pl

 **
 On 27.07.2011 12:05, Khapare Joshi wrote:

 Marek, thanks for this. I just tried with your config in my test
 environment but still comes with error similar with what Sergi been having.
 Would it be possible to post full working virtual host section ? Perhaps I
 am missing something. My environment is Centos 5 (it should not matter)

  K

 On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon 
 m.czardy...@tkpsa.plwrote:

  On 25.07.2011 18:32, 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.
 ***

  ehlo.a.

 Last time I've posted part of my apache config for iPhone/iPad:

 Maybe this will be helpful for you :

 [cut]

 RewriteEngine On
 RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
 ProxyPassInterpolateEnv On
 ProxyPreserveHost On
 ProxyPass /proxy http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo
RequestHeader set x-webobjects-server-port 443
RequestHeader set x-webobjects-server-name cal.domain.com
   RequestHeader set x-webobjects-server-url 
 https://cal.domain.com;https://cal.domain.com/

   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
  RewriteEngine On
 RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

 [cut]

 I've create additional virtual server in Apache specially for
 iPads/iPhones.
 This is part of my apache config for them. And it is working perfectly
 ...
 Aliases and directory directives in config are the same as usual

 User have to provide only hostname, user nad password. Without any
 additional part of URL :)

 BR
 --
 marek


  ehlo.a.

 I've attached whole config regarding from apache.
 I've changed my hostname to server.domain.com :) and also I've changed
 filenames of my SSL certs ...

 BR
 --
 marek




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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Jeff Folk
On Jul 27, 2011, at 8:38 AM, Sergei Bazhin wrote:
 
 I've got some point:
 adding this line to my virtual host config scrue up SOGo web interface
 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
 Web interface works ok only with the following line:
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate
 
 Any ideas on that?

DAV support doesn't use the web interface. For that reason, it really works 
better being on its own VirtualHost on a separate port. When you browse to the 
DAV host, you should get a login prompt then a blank page.

So my apache config has three parts -- listen 8843 (make sure it is in the SSL 
Global Context directives, too), NameVirtualHost 0.0.0.0:8843, and the 
VirtualHost section I posted earlier.

After those changes, restart apache, sogod, and memcached.

I see that you are using a .local tld... You know that won't work over cellular 
network, right??

Good luck;
Jeff-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Khapare Joshi
Hi jeff,

Yes, you are right when I put https://dav.domain.com:8843 in browser it
prompts for username and password - once entered it comes up with blank.
However then when I try from my iphone for carddav account i get error and
sogo logs says

[WEClientCapabilities initWithRequest:]: Unknown WebClient:
user-agent='DataAccess/1.0 (8C148)'

K


On Wed, Jul 27, 2011 at 2:08 PM, Jeff Folk jf...@qzoneinc.com wrote:

 On Jul 27, 2011, at 8:38 AM, Sergei Bazhin wrote:
 
  I've got some point:
  adding this line to my virtual host config scrue up SOGo web interface
  ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
  Web interface works ok only with the following line:
  ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate
 
  Any ideas on that?

 DAV support doesn't use the web interface. For that reason, it really works
 better being on its own VirtualHost on a separate port. When you browse to
 the DAV host, you should get a login prompt then a blank page.

 So my apache config has three parts -- listen 8843 (make sure it is in the
 SSL Global Context directives, too), NameVirtualHost 0.0.0.0:8843, and the
 VirtualHost section I posted earlier.

 After those changes, restart apache, sogod, and memcached.

 I see that you are using a .local tld... You know that won't work over
 cellular network, right??

 Good luck;
 Jeff--
 users@sogo.nu
 https://inverse.ca/sogo/lists

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Marek Czardybon

On 27.07.2011 17:34, Khapare Joshi wrote:


[WEClientCapabilities initWithRequest:]: Unknown WebClient: 
user-agent='DataAccess/1.0 (8C148)'



ehlo.a.

this is not an error. This is only info that agent which is not known to 
SOPE library is connecting

to server.

You can safely ignore this message.

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


Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-26 Thread Sergei Bazhin
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:2/SOGo/dav/ already used by another
worker
and netstat does not show me apache2 is listening on 8843 port...

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:2/SOGo retry=0

Proxy http://127.0.0.1:2/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:2/SOGo/dav/ interpolate
  ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
  ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2
  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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-26 Thread Mark Adams
You have to add 8843 to your apache2 ports.conf

Regards,
Mark

On 26 Jul 2011, at 07:06, Sergei Bazhin sbaz...@gmail.com 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:2/SOGo/dav/ already used by another worker
 and netstat does not show me apache2 is listening on 8843 port...
 
 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:2/SOGo retry=0
 
 Proxy http://127.0.0.1:2/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:2/SOGo/dav/ interpolate
  ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
  ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
 
 Proxy http://127.0.0.1:2
  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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-26 Thread Bruno Leon

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:2/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:2/SOGo retry=0

Proxy http://127.0.0.1:2/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 mailto:jf...@qzoneinc.com

On Jul 25, 2011, at 11:32 AM, sbaz...@gmail.com
mailto: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 http://0.0.0.0:8843
 ServerName sme.qzoneinc.com http://sme.qzoneinc.com
 SSLEngine On
 ProxyRequests Off
 SetEnv proxy-nokeepalive 1
 ProxyPreserveHost On
 ProxyPassInterpolateEnv On
 ProxyPass /principals http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

Proxy http://127.0.0.1:2
 RequestHeader set x-webobjects-server-port 8843
 RequestHeader set x-webobjects-server-name
sme.qzoneinc.com:8843 http://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 mailto:users@sogo.nu
https://inverse.ca/sogo/lists




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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-26 Thread Sergei Bazhin
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:2/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:2/SOGo/dav/ interpolate
ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

Proxy http://127.0.0.1:2/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:2/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:2/SOGo retry=0

 Proxy http://127.0.0.1:2/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:2/SOGo/dav/ interpolate
  ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
  ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2
  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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-26 Thread Mark Adams
Did you do what I said?

On 26 Jul 2011, at 13:55, Sergei Bazhin sbaz...@gmail.com wrote:

 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:2/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:2/SOGo/dav/ interpolate
 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
 
 Proxy http://127.0.0.1:2/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:2/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:2/SOGo retry=0
 
 Proxy http://127.0.0.1:2/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:2/SOGo/dav/ interpolate
  ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
  ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
 
 Proxy http://127.0.0.1:2
  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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-26 Thread Sergei Bazhin
Hi Mark,
Yeap, I've added 8843 to ports.conf and netstat is showing apache is
listening on 8843.

Sergei.
***

2011/7/27 Mark Adams m...@campbell-lange.net

 Did you do what I said?

 On 26 Jul 2011, at 13:55, Sergei Bazhin sbaz...@gmail.com wrote:

 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:2/SOGo/dav/
 http://127.0.0.1:2/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:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass / http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo/davhttp://127.0.0.1:2/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
 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.orgbruno.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:2/SOGo/dav/
 http://127.0.0.1:2/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:2/SOGohttp://127.0.0.1:2/SOGoretry=0

 Proxy  http://127.0.0.1:2/SOGohttp://127.0.0.1:2/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
 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.comjf...@qzoneinc.com

 On Jul 25, 2011, at 11:32 AM,  sbaz...@gmail.comsbaz...@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 http://sme.qzoneinc.comsme.qzoneinc.com
  SSLEngine On
  ProxyRequests Off
  SetEnv proxy-nokeepalive 1
  ProxyPreserveHost On
  ProxyPassInterpolateEnv On
  ProxyPass /principals http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate
  ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate
  ProxyPass / http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2http://127.0.0.1:2
  RequestHeader set x-webobjects-server-port 8843
  RequestHeader set x-webobjects-server-name 

[SOGo] CardDAV iPhone address book sync issue

2011-07-25 Thread sbazhin
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.
***
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-25 Thread Jeff Folk
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:2/SOGo/dav/ interpolate
  ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/ interpolate
  ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

Proxy http://127.0.0.1:2
  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