Permalink
Browse files

fixed Bug #860801

  • Loading branch information...
1 parent 4942299 commit 07958ea1c636d3d9a3b910bb36a1ba86ec27f44a @cdavis cdavis committed Oct 4, 2011
Showing with 6 additions and 5 deletions.
  1. +6 −5 examples/example-graphite-vhost.conf
@@ -5,12 +5,17 @@
# This line also needs to be in your server's config.
# LoadModule wsgi_module modules/mod_wsgi.so
-# You may need to manually edit this file to fit your needs.
+# You need to manually edit this file to fit your needs.
# This configuration assumes the default installation prefix
# of /opt/graphite/, if you installed graphite somewhere else
# you will need to change all the occurances of /opt/graphite/
# in this file to your chosen install location.
+
+# XXX You need to set this up!
+# Read http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGISocketPrefix
+WSGISocketPrefix /etc/httpd/wsgi/
+
<VirtualHost *:80>
ServerName graphite
DocumentRoot "/opt/graphite/webapp"
@@ -24,10 +29,6 @@
WSGIApplicationGroup %{GLOBAL}
WSGIImportScript /opt/graphite/conf/graphite.wsgi process-group=graphite application-group=%{GLOBAL}
- # XXX You need to set this up!
- # Read http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGISocketPrefix
- WSGISocketPrefix /etc/httpd/wsgi/
-
# 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 / /opt/graphite/conf/graphite.wsgi

0 comments on commit 07958ea

Please sign in to comment.