Accéder au contenu.
Menu Sympa

fr - Re: [sympa-fr] Problème de configuration d'apache 2.4 et sympa

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

Archives de la liste

Chronologique Discussions  
  • From: Dominique Fournier <adresse@cachée>
  • To: adresse@cachée
  • Subject: Re: [sympa-fr] Problème de configuration d'apache 2.4 et sympa
  • Date: Mon, 12 Jan 2015 13:42:58 +0100

Bonjour

Et quel est le problème ?

Bonne journée

Dom

Le 12/01/2015 13:39, albert a écrit :
Re Bonjour,

Alors, je suis sous ubuntu 14.04 serveur

j'ai installé sympa à partir des sources (il fonctionnait très bien sous
12.04)

sympa est installé sous /home/sympa

mon sympa.conf :

FastCgiServer /home/sympa/bin/wwsympa-wrapper.fcgi -processes 2

<VirtualHost *:80>
ServerName listes.xxx.fr
ServerAdmin adresse@cachée
Redirect permanent / https://listes.xxx.fr/
ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi
# DirectoryIndex /sympa/
# SuExecUserGroup sympa sympa
</VirtualHost>

<VirtualHost *:443>
ServerName listes.xxx.fr
ServerAdmin adresse@cachée

<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
RedirectMatch ^/$ /sympa
</Directory>


ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi
DirectoryIndex sympa/
SuExecUserGroup sympa sympa
DocumentRoot /var/www


<Location /sympa>
SetHandler fastcgi-script
AddHandler fastcgi-script .fcgi .fpl .pl
Options +ExecCGI
Options +FollowSymLinks
Require all granted

</Location>

Alias /wwsicons /usr/share/sympa/icons
Alias /static-sympa /home/sympa/static_content

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/xxx.crt
SSLCertificateKeyFile /etc/apache2/ssl/monserveur.key
SSLCACertificateFile /etc/apache2/ssl/xxx.pem
SSLVerifyClient None

</VirtualHost>

mes modules activés :

access_compat actions alias auth_basic authn_core authn_file authz_core
authz_groupfile authz_host authz_svn authz_user autoindex cgi dav
dav_svn deflate dir env expires fastcgi filter headers include
lbmethod_byrequests mime mpm_prefork negotiation perl php5 proxy
proxy_balancer proxy_html proxy_http reqtimeout rewrite security2
setenvif slotmem_shm socache_shmcb ssl status suexec unique_id
vhost_alias xml2enc

mon envars :

# envvars - default environment variables for apache2ctl

# this won't be correct after changing uid
unset HOME

# for supporting multiple apache2 instances
if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
else
SUFFIX=
fi

# Since there is no sane way to get the parsed apache2 config in
scripts, some
# settings are defined via environment variables and then used in
apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
# temporary state file location. This might be changed to /run in Wheezy+1
export APACHE_PID_FILE=/var/run/apache2/apache2$SUFFIX.pid
export APACHE_RUN_DIR=/var/run/apache2$SUFFIX
export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX
# Only /var/log/apache2 is handled by /etc/logrotate.d/apache2.
export APACHE_LOG_DIR=/var/log/apache2$SUFFIX

## The locale used by some modules like mod_dav
export LANG=C
## Uncomment the following line to use the system default locale instead:
#. /etc/default/locale

export LANG

## The command to get the status for 'apache2ctl status'.
## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
#export APACHE_LYNX='www-browser -dump'

## If you need a higher file descriptor limit, uncomment and adjust the
## following line (default is 8192):
#APACHE_ULIMIT_MAX_FILES='ulimit -n 65536'

## If you would like to pass arguments to the web server, add them below
## to the APACHE_ARGUMENTS environment.
#export APACHE_ARGUMENTS=''

## Enable the debug mode for maintainer scripts.
## This will produce a verbose output on package installations of web
server modules and web application
## installations which interact with Apache
#export APACHE2_MAINTSCRIPT_DEBUG=1

Merci de votre aide ;-)




Archives gérées par MHonArc 2.6.19+.

Haut de le page