Actually, rather than commenting out stanzas, one should just fix the directives to use the correct statement in the sogo.conf:
<Directory /usr/lib/GNUstep/SOGo>
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>
This seems to work the way the distributed file did, but with Apache 2.4. The file does need customisation by the end user, but it would be a nice courtesy to drop a copy in /etc/apache/confs-available so the user doesn't have to go hunting far for the file.
Actually, rather than commenting out stanzas, one should just fix the directives to use the correct statement in the sogo.conf:
<Directory /usr/lib/ GNUstep/ SOGo>
Require all granted
# Explicitly allow caching of static content to avoid browser specific behavior. fault "access plus 1 year"
# A resource's URL MUST change in order to have the client load the new version.
<IfModule expires_module>
ExpiresActive On
ExpiresDe
</IfModule>
</Directory>
This seems to work the way the distributed file did, but with Apache 2.4. The file does need customisation by the end user, but it would be a nice courtesy to drop a copy in /etc/apache/ confs-available so the user doesn't have to go hunting far for the file.