aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla-dev/templates/webapp_bugzilla.conf
blob: 9446ce4ff4e0c8009819cc10f5230f9cc76e72af (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
37
38
39
40
41
42
43
44
45
46
47
<%
path_data_directory =  "/var/lib/bugzilla"
%>

<Directory /usr/share/bugzilla/www>
    Order allow,deny
    Allow from all
    AllowOverride Limit FileInfo Indexes Options

    Options ExecCGI
    DirectoryIndex index.cgi
</Directory>

# The duplicates.rdf must be accessible, as it is used by
# duplicates.xul
<Directory <%= path_data_directory %>>
    <Files duplicates.rdf>
        Order allow,deny
        Allow from all
    </Files>
</Directory>

# The png files locally created locally must be accessible
<Directory <%= path_data_directory %>/webdot>
    <FilesMatch \.png$>
        Order allow,deny
        Allow from all
    </FilesMatch>
</Directory>

Alias /graphs/ <%= path_data_directory %>/graphs/
<Directory <%= path_data_directory %>/graphs>
    <FilesMatch \.png$>
        Order allow,deny
        Allow from all
    </FilesMatch>
</Directory>

# This should work automatically, but perhaps something
# in our Bugzilla packaging breaks this?
Alias /extensions/Mageia/web/ <%= scope.lookupvar("bugzilla::extension_location") %>/web/
<Directory <%= scope.lookupvar("bugzilla::extension_location") %>/web/>
    <FilesMatch \.png$>
        Order allow,deny
        Allow from all
    </FilesMatch>
</Directory>