Browse Source

public_url

main
pvincent 2 weeks ago
parent
commit
b377f1b408
  1. 13
      sympa/install.md

13
sympa/install.md

@ -6,30 +6,29 @@ https://www.sympa.community/manual/install/install-sympa-distribution-debian.htm
https://wiki.evolix.org/HowtaptoSympa
USE OF: postfix + postgresql + apache2 + fcgi
Rk: replace <SYMPA_PUBLIC_URL> according to your needs!
Rk: replace {{SYMPA_PUBLIC_URL}} and {{LISTMASTER}} according to your needs!
Rk: replace {{PUBLIC_URL}} and {{LISTMASTER}} according to your needs!
```
SYMPA_PUBLIC_URL=listes.artcode.re
PUBLIC_URL=listes.artcode.re
LISTMASTER=pvincent@artcode.re
```
* apt install -y postfix postgresql apache2 libapache2-mod-fcgid spawn-fcgi
* domain: {{SYMPA_PUBLIC_URL}}
* domain: {{PUBLIC_URL}}
* apt install -y sympa
* db: postgresql
* pass: sympa
* web: apache2
* setuid: no
* vim /etc/sympa/sympa/sympa.conf #
* listmaster: <LISTMASTER>
* listmaster: {{LISTMASTER}}
* lang: fr
* wwsympa_url: http://{{SYMPA_PUBLIC_URL}}/wws
* wwsympa_url: http://{{PUBLIC_URL}}/wws
* a2enmod rewrite proxy_fcgi
* vim /etc/apache2/sites-available/sympa.conf
```
<VirtualHost *:80>
ServerName {{SYMPA_PUBLIC_URL}}
ServerName {{PUBLIC_URL}}
RewriteEngine On
RewriteRule ^/$ /wws [R]
<Location /wws>

Loading…
Cancel
Save