[packages/graphite-web] grant access to /usr/share/graphite
glen
glen at pld-linux.org
Tue Apr 9 23:03:39 CEST 2013
commit 1270908b87d20ef4454bcc46d1fe363672d4185d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Apr 10 00:01:49 2013 +0300
grant access to /usr/share/graphite
apache.conf | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/apache.conf b/apache.conf
index 670fc0a..a7dfbcc 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,11 +1,11 @@
# Graphite Web Basic mod_wsgi vhost
-
<VirtualHost *:80>
-
ServerName graphite-web
DocumentRoot "/usr/share/graphite/webapp"
+
ErrorLog /var/log/httpd/graphite-web-error.log
CustomLog /var/log/httpd/graphite-web-access.log common
+
Alias /media/ "##PYTHON_SITELIB##/django/contrib/admin/media/"
WSGIScriptAlias / /usr/share/graphite/graphite-web.wsgi
@@ -18,6 +18,8 @@
<Location "/media/">
SetHandler None
</Location>
-
</VirtualHost>
+<Directory /usr/share/graphite>
+ Allow from all
+</Directory>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/graphite-web.git/commitdiff/e8733903ecefc053016970a75a84ef01ed47905f
More information about the pld-cvs-commit
mailing list