This file is indexed.

/etc/apache2/sites-available/lava-server.conf is in lava-server 2014.09.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#NameVirtualHost 127.0.0.1:80
#<VirtualHost lava-server:80>
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerName lava-server

    Alias /static/ /usr/share/lava-server/static/
    Alias /tmp/ /var/lib/lava/dispatcher/tmp/
    Alias /favicon.ico /usr/share/lava-server/static/lava-server/images/linaro-sprinkles.png

    # Allow serving media, static and other custom files
    <Directory /usr/share/lava-server/static/lava-server/>
        Options FollowSymLinks
        AllowOverride None
# apache2.4 config
         Require all granted
# apache 2.2 config
#        Order allow,deny
#        allow from all
    </Directory>

    DocumentRoot        /usr/share/lava-server/static/lava-server/

    # Make exceptions for static and media.
    # This allows apache to serve those and offload the application server
    <Location /static>
        SetHandler      none
    </Location>
    # We don't need media files as those are private in our implementation

# this block is required for apache2.4
    <Directory /etc/lava-server>
        Require all granted
    </Directory>

    # images folder for lava-dispatcher tarballs
    <Location /images/>
        SetHandler      none
    </Location>

    <Directory /var/lib/lava/dispatcher/tmp>
        Options Indexes
        Require all granted
        AllowOverride None
    </Directory>

    WSGIDaemonProcess lavaserver user=lavaserver group=lavaserver processes=1 threads=5
    WSGIProcessGroup lavaserver
# Use this line to debug your Apache setup
#    WSGIScriptAlias / /etc/lava-server/debug.wsgi
    WSGIScriptAlias / /etc/lava-server/lava-server.wsgi
    WSGIPassAuthorization On
    <Directory /usr/share/lava-server/static>
        WSGIApplicationGroup %{GLOBAL}
        WSGIPassAuthorization On
# apache2.4 config
        Require all granted
# apache2.2 config
#        Order deny,allow
#        Allow from all
    </Directory>
    LogLevel info
    ErrorLog ${APACHE_LOG_DIR}/lava-server.log
    CustomLog ${APACHE_LOG_DIR}/lava-server.log combined

</VirtualHost>