# Graphite Web Basic mod_wsgi vhost # Django : 2015-03-20 Festlegung des vHostnamens ServerName graphite-web.nausch.org DocumentRoot "/usr/share/graphite/webapp" ErrorLog /var/log/httpd/graphite-web-error.log CustomLog /var/log/httpd/graphite-web-access.log common # Header set Access-Control-Allow-Origin "*" # Header set Access-Control-Allow-Methods "GET, OPTIONS" # Header set Access-Control-Allow-Headers "origin, authorization, accept" # Header set Access-Control-Allow-Credentials true WSGIScriptAlias / /usr/share/graphite/graphite-web.wsgi WSGIImportScript /usr/share/graphite/graphite-web.wsgi process-group=%{GLOBAL} application-group=%{GLOBAL} SetHandler None Alias /media/ "/usr/lib/python2.7/site-packages/django/contrib/admin/media/" SetHandler None # Apache 2.4 # Django : 2015-03-20 Nur Rechner aus dem eigenen Netz dürfen die Webseite aufrufen! # default: Require local Require ip 10.0 # Apache 2.2 Order Deny,Allow Deny from all Allow from 127.0.0.1 Allow from ::1