Re: [SOGo] Change "Links to this Calendar" from http to https ?
On 04/06/2018 04:09 PM, "albert.solana" (albert.sol...@upcnet.es) wrote: Removing "env=HTTP_HOST" causes a general Sogo website malfunction. ok, strange, because: not for us. But the other fix (setting the env variable) works here too. Didn't know it, learned about it just now. Thanks, MJ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Change "Links to this Calendar" from http to https ?
Hello, that fixes it : @@ -72,4 +72,5 @@ ## and do not forget to enable the headers module + SetEnvIf Host (.*) HTTP_HOST=$1 RequestHeader set "x-webobjects-server-port" "443" RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST Found bug report (1) and existing pull request (2). (1) https://lists.inverse.ca/sogo/arc/users/2017-03/msg00089.html (2) https://github.com/inverse-inc/sogo/pull/233/commits/400dd26b7d1409fce0b2e5f8445af86170054fd4 ++ On 02 April 2018 at 18:15, Pierre Fumet wrote : Hello, sorry for late answer, here's my apache config, running on Debian 8 / apache 2.4 / SOGo 3.2.10.20180225-1 : # sites-enabled/.conf ServerName DocumentRoot /var/www/empty Redirect / https:///SOGo ServerName SSLEngine on RedirectMatch ^/$ /SOGo # conf-enabled/SOGo.conf Alias /SOGo.woa/WebServerResources/ \ /usr/lib/GNUstep/SOGo/WebServerResources/ Alias /SOGo/WebServerResources/ \ /usr/lib/GNUstep/SOGo/WebServerResources/ AllowOverride None Order deny,allow Allow from all = 2.4> Require all granted ExpiresActive On ExpiresDefault "access plus 1 year" ProxyRequests Off SetEnv proxy-nokeepalive 1 ProxyPreserveHost On ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0 http://127.0.0.1:2/SOGo> RequestHeader set "x-webobjects-server-port" "443" RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e"; env=HTTP_HOST RequestHeader unset "x-webobjects-remote-user" RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" AddDefaultCharset UTF-8 Order allow,deny Allow from all RewriteEngine On RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301] RewriteRule ^/.well-known/carddav/?$ /SOGo/dav [R=301] On 23 February 2018 at 08:31, from Ludovic Marcotte : Show your Apache configuration for SOGo. -- Pierre Fumet :: +33676748359 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Change "Links to this Calendar" from http to https ?
Hello MJ, Removing "env=HTTP_HOST" causes a general Sogo website malfunction. El 05/04/18 a les 10:19, mj (li...@merit.unu.edu) ha escrit: Hi, On 04/02/2018 06:15 PM, Pierre Fumet (p...@zdn.fr) wrote: RequestHeader set "x-webobjects-server-port" "443" RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e"; env=HTTP_HOST RequestHeader unset "x-webobjects-remote-user" Perhaps remove "env=HTTP_HOST" after both lines..? MJ -- Atentament, ___ Albert Solana Service Operation UPCnet Edifici Vèrtex - Pl. Eusebi Güell, 6 08034 BARCELONA Telèfon centraleta: 93.401.1600 Aquest correu electrònic pot contenir informació confidencial o legalment protegida i està exclusivament dirigit a la persona o entitat destinatària. Si vostè no és el destinatari final o persona encarregada de recollir-lo, no està autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar el seu contingut. Si ha rebut aquest correu electrònic per error, li preguem que informi al remitent i elimini del seu sistema el missatge i el material annex que pugui contenir. Gràcies per la seva col.laboració. *** Si us plau, no m'imprimeixis. Vull seguir sent digital *** *** Por favor, no me imprimas. Quiero seguir siendo digital *** *** Please, don't print me. I want to remain digital *** -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Change "Links to this Calendar" from http to https ?
Hi, On 04/02/2018 06:15 PM, Pierre Fumet (p...@zdn.fr) wrote: RequestHeader set "x-webobjects-server-port" "443" RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e"; env=HTTP_HOST RequestHeader unset "x-webobjects-remote-user" Perhaps remove "env=HTTP_HOST" after both lines..? MJ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Change "Links to this Calendar" from http to https ?
Hello, sorry for late answer, here's my apache config, running on Debian 8 / apache 2.4 / SOGo 3.2.10.20180225-1 : # sites-enabled/.conf ServerName DocumentRoot /var/www/empty Redirect / https:///SOGo ServerName SSLEngine on RedirectMatch ^/$ /SOGo # conf-enabled/SOGo.conf Alias /SOGo.woa/WebServerResources/ \ /usr/lib/GNUstep/SOGo/WebServerResources/ Alias /SOGo/WebServerResources/ \ /usr/lib/GNUstep/SOGo/WebServerResources/ AllowOverride None Order deny,allow Allow from all = 2.4> Require all granted ExpiresActive On ExpiresDefault "access plus 1 year" ProxyRequests Off SetEnv proxy-nokeepalive 1 ProxyPreserveHost On ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0 http://127.0.0.1:2/SOGo> RequestHeader set "x-webobjects-server-port" "443" RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e"; env=HTTP_HOST RequestHeader unset "x-webobjects-remote-user" RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" AddDefaultCharset UTF-8 Order allow,deny Allow from all RewriteEngine On RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301] RewriteRule ^/.well-known/carddav/?$ /SOGo/dav [R=301] On 23 February 2018 at 08:31, from Ludovic Marcotte : Show your Apache configuration for SOGo. -- Pierre Fumet :: +33676748359 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Change "Links to this Calendar" from http to https ?
On 2018-02-23 4:25 AM, "albert.solana" (albert.sol...@upcnet.es) wrote: Hello, I have the same issue in my a 3.2.10 Sogo servers, all links appear as http instead https. I'ts annoying for the users. Show your Apache configuration for SOGo. -- Ludovic Marcotte lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence (http://packetfence.org) and Fingerbank (http://fingerbank.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Change "Links to this Calendar" from http to https ?
Hello, I have the same issue in my a 3.2.10 Sogo servers, all links appear as http instead https. I'ts annoying for the users. El 22/02/18 a les 15:19, Pierre Fumet (p...@zdn.fr) ha escrit: Hello, is there a way to generate CalDAV/WebDAV links to calendars/addressbooks in https instead of http ? I have them in https in SOGo2 instance, but not in SOGo3 instance, even though i can't see any difference in config. Couldn't find any option available nor a bug about that. Thks in advance. -- Regards, ___ Albert Solana Service Orchestration UPCnet Edifici Vèrtex - Pl. Eusebi Güell, 6 08034 BARCELONA Telèfon centraleta: 93.401.1600 Aquest correu electrònic pot contenir informació confidencial o legalment protegida i està exclusivament dirigit a la persona o entitat destinatària. Si vostè no és el destinatari final o persona encarregada de recollir-lo, no està autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar el seu contingut. Si ha rebut aquest correu electrònic per error, li preguem que informi al remitent i elimini del seu sistema el missatge i el material annex que pugui contenir. Gràcies per la seva col.laboració. *** Si us plau, no m'imprimeixis. Vull seguir sent digital *** *** Por favor, no me imprimas. Quiero seguir siendo digital *** *** Please, don't print me. I want to remain digital *** -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Change "Links to this Calendar" from http to https ?
Hello, You can always redirect port 80 to 443 on your server, i.e. for apache something like: ServerAdmin BLA ServerName BLABA:80 ErrorLog logs/error_log CustomLog logs/access_log combined RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R] On Thursday, February 22, 2018 15:19 CET, "Pierre Fumet" (p...@zdn.fr) wrote: Hello, is there a way to generate CalDAV/WebDAV links to calendars/addressbooks in https instead of http ? I have them in https in SOGo2 instance, but not in SOGo3 instance, even though i can't see any difference in config. Couldn't find any option available nor a bug about that. Thks in advance. -- Pierre Fumet :: +33676748359 -- users@sogo.nu https://inverse.ca/sogo/lists --Dr. Raimondo Giammanco HPCC & IT Service Head von Karman Institute Chee De Waterloo 72 B-1640 Rhode-St-Genese Belgium http://www.vki.ac.be TEL: +3223599764 FAX: +3223599600 -- users@sogo.nu https://inverse.ca/sogo/lists