summaryrefslogtreecommitdiff
path: root/apache/staging.conf
blob: ec81a1e565a3d670f6cdb546563aa2dbd0884934 (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
<VirtualHost *:80>
    WSGIScriptReloading On
    WSGIReloadMechanism Process
    WSGIDaemonProcess caktus_website-staging
    WSGIProcessGroup caktus_website-staging
    WSGIApplicationGroup caktus_website-staging
    WSGIPassAuthorization On
 
    WSGIScriptAlias / /var/www/fooz/apache/staging.wsgi/
 
    <Location "/">
        Order Allow,Deny
        Allow from all
    </Location>
 
    <Location "/media">
        SetHandler None
    </Location>
 
    Alias /media /var/www/staging/fooz/media
 
    <Location "/adminmedia">
        SetHandler None
    </Location>
 
    Alias /adminmedia /var/www/staging/fooz/media/admin
 
    ErrorLog /var/www/log/error.log
    LogLevel info
    CustomLog /var/www/log/access.log combined
</VirtualHost>