vhosts.conf 589 Bytes
Newer Older
1
2
3
4
<VirtualHost *:80>

    DocumentRoot /var/www/html/

olaf michaelis's avatar
olaf michaelis committed
5
6
    Alias ${BASE_STATIC} /vol/rdmo-app/static_root/
    <Directory /vol/rdmo-app/static_root>
7
8
9
10
        Require all granted
    </Directory>

    WSGIDaemonProcess rdmo user=rdmo group=rdmo processes=2 \
11
        python-path=/vol/rdmo-app python-home=/vol/ve
12
13

    WSGIProcessGroup rdmo
olaf michaelis's avatar
olaf michaelis committed
14
    WSGIScriptAlias ${BASE_URL} /vol/rdmo-app/config/wsgi.py process-group=rdmo
15
16
    WSGIPassAuthorization On

olaf michaelis's avatar
olaf michaelis committed
17
    <Directory /vol/rdmo-app/config>
18
19
20
21
22
23
        <Files wsgi.py>
            Require all granted
        </Files>
    </Directory>

</VirtualHost>