summaryrefslogtreecommitdiffstats
path: root/misc/apache/bcfg2.conf
blob: b8409a5134900ec1fd2c82f1391b1c6b0a44655f (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
<IfModule mod_wsgi.c>
  #
  # If the root is changed update the static content alias as well
  #
  WSGIScriptAlias /bcfg2 "/usr/share/bcfg2/reports.wsgi"

  WSGISocketPrefix /var/run/apache2/wsgi
  WSGIDaemonProcess Bcfg2.Server.Reports processes=1 threads=10
  WSGIProcessGroup Bcfg2.Server.Reports

  #
  # Manually set this to override the static content
  #
  #SetEnv bcfg2.media_url /bcfg2/site_media/

  #
  # This should have the same prefix as WSGIScriptAlias
  #
  Alias "/bcfg2/site_media/" "/usr/share/bcfg2/site_media/"
  <Directory "/usr/share/bcfg2/site_media/">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
</IfModule>