Hello,
I'm trying to import all the contacts of horde into sogo by using this script
but without success. I can execute in command line <turba.py gbreiner> without
error. When I look at https://sogo.mydomain/SOGo/so/gbreiner/Contacts/view
There is no new contacts except those which already existed.
I added a line print put.response["status"] , I get the HTTP code 302. Is it
what is expected ?
Is there something I should have to add in my apache configuration ?
In other words, apart the setup of config.py, is there something else I have to
configure or create ?
I use SOGo 2.0 That I installed from apt-get under Debian squeeze. Here is the
content of the directory from I run the turba.py :
--------------------------------------
config.py
config.pyc
config.py.in
HordeSignatureConverter.py
HordeSignatureConverter.pyc
PHPDeserializer.py
PHPDeserializer.pyc
README
signature.py
TurbaConverter.py
TurbaConverter.pyc
turba.py
webdavlib.py
webdavlib.pyc
-----------------------------------
Here is my soho virtual host :
<VirtualHost *:443>
Servername sogo.mydomain.fr
SSLEngine On
SSLCertificateFile /etc/apache2/ssl.fac/wildcard.mydomain.crt
SSLCertificateKeyFile /etc/apache2/ssl.fac/wildcard.mydomain.key
DocumentRoot /usr/lib/GNUstep/SOGo/WebServerResources/
ErrorLog /var/log/apache2/sogo-error.log
Customlog /var/log/apache2/sogo-access.log combined
ServerSignature Off
<IfModule mpm_itk_module>
AssignUserId sogo-a sogo-a
</IfModule>
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
# SetEnv proxy-initial-not-pooled 1
ProxyPreserveHost On
ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
# ProxyPass /SOGo https://sogo.mydomain:20000/SOGo retry=0
<Proxy http://129.X.X.X:20000/SOGo>
#SetEnv force-proxy-request-1.0 1
#SetEnv proxy-nokeepalive 1
#SetEnv proxy-initial-not-pooled 1
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "sogo.mydomain.fr"
RequestHeader set "x-webobjects-server-url" "https://sogo.mydomain.fr"
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e
env=REMOTE_HOST
# RequestHeader set "x-webobjects-remote-host" "sogo.mydomain.fr"
AddDefaultCharset UTF-8
Order allow,deny
Allow from all
</Proxy>
## We use mod_rewrite to pass remote address to the SOGo proxy.
# The remote address will appear in SOGo's log files and in the X-Forward
# header of emails.
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
Redirect permanent /index.html https://sogo.mydomain/SOGo
</Virtualhost>
Any help would be greatly appreciated.
Best regards.
Gérard Breiner
Institut D'Astrophysique Spatiale
FR-91405 Orsay Campus
--
[email protected]
https://inverse.ca/sogo/lists