Skip to Content.
Sympa Menu

fr - Re: [sympa-fr] Sympa avec Apache 2.4??

Subject: Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

List archive

Chronological Thread  
  • From: Guillaume Laurès <address@concealed>
  • To: sympa-fr <address@concealed>
  • Subject: Re: [sympa-fr] Sympa avec Apache 2.4??
  • Date: Tue, 20 Dec 2016 08:53:21 +0100 (CET)

Hello Mark,

First, as of migrating from apache 2.2 to apache 2.4, here's a diff for the sympa.conf apache config file.
I made it recently on a new install on a CentOS 7 host (rpm sympa-6.2.13-1.20160219.RHEL7.x86_64 seems to include an apache 2.2 config file) :
--- /etc/httpd/conf.d/sympa.conf.orig   2016-12-13 13:55:42.722640075 +0100
+++ /etc/httpd/conf.d/sympa.conf        2016-12-15 11:13:11.631373458 +0100
@@ -12,9 +12,10 @@
        SetHandler fcgid-script

        # Don't forget to edit lines below!
-       Order deny,allow
-       Deny from all
+       #Order deny,allow
+       #Deny from all
        #Allow from all
+       Require all granted
     ScriptAlias /sympa /usr/libexec/sympa/wwsympa-wrapper.fcgi

@@ -32,7 +33,10 @@

 ## Other static contents
 Alias /static-sympa /var/lib/sympa/static_content
+    <Location /static-sympa>
+       Require all granted
+    </Location>

 ## If your host is dedicated to Sympa:
-#RewriteEngine on
-#RewriteRule ^/?$ /sympa [R=301]
+RewriteEngine on
+RewriteRule ^/?$ /sympa [R=301]
Basically you just need to update the syntax "order/deny/allow" to the new directive "require".
Attached is the whole file I'm using with success now.

Next, what does say your httpd error_log ?

Thanks and best wishes to you and the list as well :-)

G. Laurès

De: "sympa-fr" <address@concealed>
À: "sympa-fr" <address@concealed>
Envoyé: Lundi 19 Décembre 2016 09:57:50
Objet: Re: [sympa-fr] Sympa avec Apache 2.4??



I uncommented the “SetHandler fastcgi-script” as you suggested but the site remains in maintenance mode.


Did some research from home this weekend and a lot of people discovered it has something to do with rights on the sci scripts.

But all info stops there.


Strange how an apache update can ruin an entire application!


Thanks for your help & have a wonderful 2017!



From: <address@concealed> on behalf of Guillaume Laurès <address@concealed>
Reply-To: <address@concealed>
Date: Friday 16 December 2016 at 21:43
To: <address@concealed>
Subject: Re: [sympa-fr] Sympa avec Apache 2.4??




Do not # the "SetHandler fastcgi-script"


Le 16 déc. 2016 à 13:48, Mark Van Crombrugge (via sympa-fr Mailing List) <address@concealed> a écrit :


Thanks for the info.


I changed the config file from:

Alias /static-sympa /home/sympa/static_content 

ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi


<IfModule mod_fcgid.c>

  AddHandler fcgid-script .fcgi





<Location /sympa>

 Require all granted

# SetHandler fastcgi-script



<Directory "/home/sympa/static_content">

  Require all granted



Alias /static-sympa /home/sympa/static_content 

ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi


<IfModule mod_fcgid.c>

  AddHandler fcgid-script .fcgi




And now I get the wws webpage but it says “The mailing list server is in maintenance mode, no operations can be performed during this period.”

Impossible to login...


I’ts an improvement that the page is now visible but where do I change from maintenance to active mode?

It was active before the upgrade of Apache so it’s a bit strange tnat now it’s in maintenance mode...


Any help will be appreciated.


Have a nice weekend!





From: <address@concealed> on behalf of "Philippe Aepli (via sympa-fr Mailing List)" <address@concealed>
Reply-To: <address@concealed>
Date: Wednesday 14 December 2016 at 16:16
To: "address@concealed" <address@concealed>
Subject: RE: [sympa-fr] Sympa avec Apache 2.4??




Rien ne change beaucoup avec la version précédente d'Apache, à part un petit détail de rien du tout.

Cela concerne les droits qui sont plus restrictifs!


Il faut donc autoriser la consultations des différentes URLs.


Par exemple pour un accès public (all granted), il faut ajouter la ligne suivante aux définitions des chemins /static-sympa et /sympa:


Pour /static-sympa:

<Location /static-sympa>

Require all granted



Pour /sympa (avec fcgid):

<Location /sympa>

SetHandler fcgid-script

Require all granted






Philippe AEPLI              Email: address@concealed

Université de Genève        Tél: +41 22 379 72 86

Division STIC               Mob: +41 79 280 20 24

Rue du Général-Dufour, 24   Fax: +41 22 379 79 86

1204 Genève


De : address@concealed [mailto:address@concealed] De la part de Mark Van Crombrugge
Envoyé : mercredi 14 décembre 2016 15:50

À : address@concealed
Objet : [sympa-fr] Sympa avec Apache 2.4??




Je cherche des fichiers de configuration pour faire tourner Sympa en surtout WWS avec Apache 2.4. (Ubuntu 14.04).


Cela fait des jours que je cherche sans résultat.


Grand merci,



Attachment: sympa.conf
Description: Binary data

Archive powered by MHonArc 2.6.19+.

Top of Page