# 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
# Django : 2015-03-20
# Authentifizierung gegen unseren openLDAP-Server
AuthType Basic
AuthName "Icinga Monitoring Server"
AuthBasicProvider ldap
AuthLDAPUrl ldap://ldap.dmz.nausch.org:636/ou=People,dc=nausch,dc=org?uid
AuthLDAPBindDN cn=Technischer_User,dc=nausch,dc=org
AuthLDAPBindPassword Kl4u5-157-d3r-gr035573(03nk7_3r)!
AuthLDAPBindAuthoritative on
Require ldap-user django