diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2020-11-04 14:04:39 +0100 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2020-11-04 14:04:39 +0100 |
commit | 26300c0c0790f43e00ff14d7301da1e8c8714a4d (patch) | |
tree | fd0cffcbb7b762ef44d305d8ffdfae7b7bdd8c20 /net-mail/sympa/files/sympa-apache.conf | |
parent | dde457ed3c7256a8eba9c33f765e6dafbbbd25f1 (diff) | |
download | portage-26300c0c0790f43e00ff14d7301da1e8c8714a4d.tar.gz portage-26300c0c0790f43e00ff14d7301da1e8c8714a4d.tar.bz2 portage-26300c0c0790f43e00ff14d7301da1e8c8714a4d.zip |
Version bump + various cleanups
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 |