[ { type: install message: < ServerName graphite DocumentRoot "%%DATADIR%%/content/" # I've found that an equal number of processes & threads tends # to show the best performance for Graphite (ymmv). WSGIDaemonProcess graphite processes=5 threads=5 inactivity-timeout=120 display-name=graphite WSGIProcessGroup graphite WSGIApplicationGroup graphite WSGIImportScript %%PREFIX%%/etc/graphite/graphite.wsgi process-group=graphite application-group=graphite # XXX You will need to create this file! There is a graphite.wsgi.example # file in this directory that you can safely use, just copy it to graphite.wgsi WSGIScriptAlias / %%PREFIX%%/etc/graphite/graphite.wsgi Alias /content/ %%DATADIR%%/content/ SetHandler None # XXX In order for the django admin site media to work you # must change @DJANGO_ROOT@ to be the path to your django # installation, which is probably something like: # /usr/lib/python2.6/site-packages/django #Alias /media/ "@DJANGO_ROOT@/contrib/admin/media/" Alias /media/ %%PYTHON_SITELIBDIR%%/django SetHandler None Alias /static/ "%%PYTHON_SITELIBDIR%%/django/contrib/admin/static/" SetHandler None Order deny,allow Allow from all Require all granted # The graphite.wsgi file has to be accessible by apache. It won't # be visible to clients because of the DocumentRoot though. Order deny,allow Allow from all Require all granted Order deny,allow Allow from all Require all granted Now you should be able to access the graphite virtual host you created in the first step. EOM } ]