Hello,
I want use the CardDAV Server with my iPhone and Apple Adressbook. For this I have to set a vhost in my apache SOGo.conf but this don't work by me. I use CentOS 5.5 and I installed httpd and mod_ssl through yum. I created the SSL cert. and put it into this folder (/etc/httpd/ssl/). Then I changed the /etc/httpd/conf.d/SOGo.conf to this: Alias /SOGo.woa/WebServerResources/ \
      /usr/GNUstep/System/Library/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
      /usr/GNUstep/System/Library/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
           /usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*jpg">
  SetHandler default-handler
</LocationMatch>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*png">
  SetHandler default-handler
</LocationMatch>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*gif">
  SetHandler default-handler
</LocationMatch>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*css">
  SetHandler default-handler
</LocationMatch>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*js">
  SetHandler default-handler
</LocationMatch>
## Uncomment the following to enable proxy-side authentication, you will then ## need to set the "SOGoTrustProxyAuthentication" SOGo user default to YES and ## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section
## below.
#<Location /SOGo>
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#</Location>
ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On
ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate
#<Proxy http://127.0.0.1:20000/SOGo>
## adjust the following to your configuration
#  RequestHeader set "x-webobjects-server-port" "80"
#  RequestHeader set "x-webobjects-server-name" "yourhostname"
#  RequestHeader set "x-webobjects-server-url" "https://yourhostname";
## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  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>
<VirtualHost *:8843>
 RewriteEngine Off
 SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
 SSLCertificateFile /etc/httpd/ssl/ca.crt
 SSLCertificateKeyFile /etc/httpd/ssl/ca.key
 SSLCACertificateFile /etc/httpd/ssl/ca.pem
 ProxyRequests Off
 SetEnv proxy-nokeepalive 1
 ProxyPreserveHost On
 ProxyPassInterpolateEnv On
 ProxyPass /principals 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
<Location />
 Order allow,deny
 Allow from all
</Location>
<Proxy http://127.0.0.1:20000>
 RequestHeader set "x-webobjects-server-port" "8843"
 RequestHeader set "x-webobjects-server-name" "parceval.tk:8843"
 RequestHeader set "x-webobjects-server-url" "https://parceval.tk:8843";
 RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
 RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
 AddDefaultCharset UTF-8
</Proxy>
ErrorLog /var/log/httpd/ab-error.log
CustomLog /var/log/httpd/ab-access.log combined
</VirtualHost>
When I restart my apache server I get this error:
[r...@sogomysql223 /]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Fri Oct 08 15:06:49 2010] [warn] worker 
http://127.0.0.1:20000/SOGo/dav/ already used by another worker
                                                           [  OK  ]
[r...@sogomysql223 /]#
When I try to connect with my iPhone or Apple Adressbook to my SOGo server nothing happend by SOGo or in the httpd log's. The CalDAV works great :-) Can someone help me to make it work? Best regards Imo Graf
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to