aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/vhost_ml.conf
blob: 5651b95c74a79f8a8799d8dd3490565fa9166dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
    RewriteEngine On
    RewriteRule ^/?$ /l/home [R]
    RewriteRule ^/l$ /l/
    RewriteRule ^/l/(.*)$ /wwsympa-wrapper.fcgi/$1

    DocumentRoot <%= lib_dir + "/sympa/cgi" %>

    Alias /static-sympa /var/lib/sympa/static_content

    <Directory /var/lib/sympa/static_content>
        <IfModule mod_authz_core.c>
            # Apache 2.4
            Require all granted
        </IfModule>
        <IfModule !mod_authz_core.c>
            # Apache 2.2
            Order allow,deny
            Allow from all
        </IfModule>
    </Directory>


    <Directory /usr/lib64/sympa/cgi>
        Options ExecCGI
        AddHandler cgi-script .fcgi
        DirectoryIndex wwsympa-wrapper.fcgi
        <IfModule mod_authz_core.c>
            # Apache 2.4
            Require all granted
        </IfModule>
        <IfModule !mod_authz_core.c>
            # Apache 2.2
            Order allow,deny
            Allow from all
        </IfModule>
    </Directory>