aboutsummaryrefslogtreecommitdiff
path: root/templates/apache/vhosts/lists.erb
blob: 158dfd41897afd127bfb2b1f54e98d1c80904e40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# begin vhost for lists.<%= domain %>
<VirtualHost *:80>
   ServerName lists.<%= domain %>
   DocumentRoot /var/www/data/lists

   RedirectMatch ^/$ https://lists.<%= domain %>/wws
   Alias /static-sympa /var/lib/sympa/static_content
   Alias /wwsicons /usr/share/sympa/icons
   ScriptAlias /wws /var/www/data/lists/wwsympa.fcgi

   <IfModule mod_fcgid.c>
     IPCCommTimeout 120
     MaxProcessCount 2
   </IfModule>

   SuexecUserGroup sympa sympa

   <Location /wws>
     SetHandler fcgid-script
   </Location>
</VirtualHost>
# end vhost for lists.<%= domain %>