The problem still exists.
The reason is recent nethserver-httpd 3.1.0-1.ns7 update. After applying this update SOGO does not work anymore.
Help please!
IncludeOptional conf.d/default-virtualhost.inc
**Then in /etc/httpd/conf.d/default-virtualhost.inc**
# ================= DO NOT MODIFY THIS FILE =================
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at https://dev.nethesis.it/projects/nethserver/wiki/NethServer
# original work from http://www.contribs.org/development/
#
# Copyright (C) 2013 Nethesis S.r.l.
# http://www.nethesis.it - support@nethesis.it
#
#
# 10server-manager permanent redirect
#
RewriteEngine On
RewriteRule ^/server-manager(/.*)?$ https://%{HTTP_HOST}:980$1 [L,R=301]
#
# 40nextcloud
#
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/nextcloud(/.*)?$ https://%{HTTP_HOST}/nextcloud\$1 [L,R=301]
#
# 80vhost_default -- include template httpd/vhost-default
# for backward compatibility
#
#
# 30SOGo
#
# -- DISABLED
#
# 10ssl
#
# Additional directives for SSL. See also upstream ssl.conf.
#
# SSLCertificateChainFile
SSLCipherSuite DEFAULT:!EXP:!SSLv2:!DES:!IDEA:!SEED:+3DES;
#
# 30include
#
IncludeOptional nethserver.d/*.vhost
**And in /etc/httpd/nethserver.d/00default:443.vhost:**
[.....]
#
# 30SOGo
#
Alias /SOGo.woa/WebServerResources/ \
/usr/lib64/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
/usr/lib64/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
/usr/lib64/GNUstep/SOGo/$1.SOGo/Resources/$2
<Directory /usr/lib64/GNUstep/SOGo/>
AllowOverride None
Require all granted
# Explicitly allow caching of static content to avoid browser specific behavior.
# A resource's URL MUST change in order to have the client load the new version.
<IfModule expires_module>
ExpiresActive On
ExpiresDefault "access plus 1 year"
</IfModule>
</Directory>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*.(jpg|png|gif|css|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>
SetEnv proxy-nokeepalive 1
Require all granted
</Location>
ProxyRequests Off
ProxyPreserveHost On
# When using CAS, you should uncomment this and install cas-proxy-validate.py
# in /usr/lib64/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# <Proxy http://localhost/app/cas-proxy-validate.py>
# Order deny,allow
# Allow from your-cas-host-addr
# </Proxy>
ProxyPassInterpolateEnv On
ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate
ProxyPass /card/SOGo http://127.0.0.1:20000/SOGo interpolate
ProxyPass /card/principals http://127.0.0.1:20000/SOGo/dav/ interpolate
ProxyPass /card/ http://127.0.0.1:20000/SOGo/dav/ interpolate
ProxyPass /principals http://127.0.0.1:20000/SOGo/dav/ interpolate
ProxyPass /Microsoft-Server-ActiveSync http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync retry=60 connectiontimeout=5 timeout=360
SetEnvIf Host (.*) REQUEST_HOST=$1
<Proxy http://127.0.0.1:20000/SOGo>
## adjust the following to your configuration
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "%{REQUEST_HOST}e"
RequestHeader set "x-webobjects-server-url" "https://%{REQUEST_HOST}e/SOGo"
## 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" %{REMOTE_HOST}e env=REMOTE_HOST
AddDefaultCharset UTF-8
Require all granted
</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/ [R=301,L]
RewriteRule ^/SOGo(/.*)?$ /SOGo$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
#
# 30letsencrypt
#
Alias "/.well-known/acme-challenge/" "/var/www/html/.well-known/acme-challenge/"
<Directory "/var/www/html/.well-known/acme-challenge/">
Order allow,deny
Allow from all
Options -Indexes -FollowSymLinks
AllowOverride None
</Directory>
#
# 40nextcloud
#
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/nextcloud(/.*)?$ https://neth7.nedersticht.nl/nextcloud$1 [R,L]
</VirtualHost>
you are talking about [quote=“Erwis, post:6, topic:4343”]
The reason is recent nethserver-httpd 3.1.0-1.ns7 update
[/quote]
but i don’t find any update for this package. I made another fresh install of ns7 beta 2 from the iso, the package is already this one and there no update for it on software center.
i reinstall nethserver-sogo from nethforge-testing like Giacomo said and it works correctly.
For me it’s working again. Last time I did it, the softtwarecenter showed sogo updates after installation. If you have installed them, it dosn’t work again. But this time there are no updates available.