diff options
Diffstat (limited to 'net-mail/sympa/files/sympa-apache.conf')
-rw-r--r-- | net-mail/sympa/files/sympa-apache.conf | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/net-mail/sympa/files/sympa-apache.conf b/net-mail/sympa/files/sympa-apache.conf index 94098f8..1d652c1 100644 --- a/net-mail/sympa/files/sympa-apache.conf +++ b/net-mail/sympa/files/sympa-apache.conf @@ -1,11 +1,14 @@ -Alias /static-sympa /var/spool/sympa/static_content +LoadModule alias_module modules/mod_alias.so +LoadModule proxy_module modules/mod_proxy.so +LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so + +<Location /sympa> + SetHandler "proxy:unix:/var/run/sympa.sock|fcgi://" + Require all granted +</Location> -<IfDefine SYMPA> - ScriptAlias /sympa /usr/libexec/sympa/wwsympa-wrapper.fcgi - <IfDefine FASTCGI> - FastCgiServer /usr/libexec/sympa/wwsympa-wrapper.fcgi -processes 2 - <Location /sympa> - SetHandler fastcgi-script - </Location> - </Ifdefine> -</Ifdefine> +<Location /static-sympa> + Require all granted +</Location> + +Alias /static-sympa /var/spool/sympa/static_content |