Browse Source

install coding block

main
pvincent 2 weeks ago
parent
commit
c2d2eeed63
  1. 24
      sympa/install.md

24
sympa/install.md

@ -21,16 +21,16 @@ USE OF: postfix + postgresql + apache2 + fcgi
* a2enmod rewrite proxy_fcgi * a2enmod rewrite proxy_fcgi
* vim /etc/apache2/sites-available/sympa.conf * vim /etc/apache2/sites-available/sympa.conf
``` ```
<VirtualHost *:80>
ServerName localhost
RewriteEngine On
RewriteRule ^/$ /wws [R]
<Location /wws>
SetHandler "proxy:unix:/run/sympa/wwsympa.socket|fcgi://localhost"
Require all granted
</Location>
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
RewriteEngine On
RewriteRule ^/$ /wws [R]
<Location /wws>
SetHandler "proxy:unix:/run/sympa/wwsympa.socket|fcgi://localhost"
Require all granted
</Location>
</VirtualHost>
``` ```
* a2dissite 000-default.conf
* a2ensite sympa.conf
* systemctl restart apache2 sympa
* a2dissite 000-default.conf
* a2ensite sympa.conf
* systemctl restart apache2 sympa
Loading…
Cancel
Save