]> git.pld-linux.org Git - packages/graphite-web.git/blob - apache.conf
011c418ed0ade9da6ce2359f77bef627439eda85
[packages/graphite-web.git] / apache.conf
1 # Graphite Web Basic mod_wsgi vhost
2 <VirtualHost *:80>
3         ServerName graphite-web
4         DocumentRoot "/usr/share/graphite/webapp"
5
6         ErrorLog /var/log/httpd/graphite-web-error.log
7         CustomLog /var/log/httpd/graphite-web-access.log common
8
9         Alias /media/ "##PYTHON_SITELIB##/django/contrib/admin/media/"
10         Alias /content/ "/usr/share/graphite/webapp/content/"
11
12         WSGIScriptAlias / /usr/share/graphite/graphite-web.wsgi
13         WSGIImportScript /usr/share/graphite/graphite-web.wsgi process-group=%{GLOBAL} application-group=%{GLOBAL}
14
15         <Location "/content/">
16                 SetHandler None
17         </Location>
18
19         <Location "/media/">
20                 SetHandler None
21         </Location>
22 </VirtualHost>
23
24 # Apache 2.2
25 # <Directory /usr/share/graphite>
26 #       Allow from all
27 # </Directory>
28
29 # Apache 2.4
30 <Directory /usr/share/graphite>
31     Require all granted
32     Allow from all
33 </Directory>
This page took 0.023114 seconds and 2 git commands to generate.