Skip to content

Instantly share code, notes, and snippets.

@teoruiz
Created March 24, 2011 13:43
Show Gist options
  • Save teoruiz/885073 to your computer and use it in GitHub Desktop.
Save teoruiz/885073 to your computer and use it in GitHub Desktop.
<Directory "/opt/graphite/webapp/">
AllowOverride None
#Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
<Location "/graphite">
SetHandler python-program
PythonPath "['/opt/graphite/webapp'] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE graphite.settings
PythonDebug On
PythonAutoReload On
</Location>
<Location "/graphite/content/">
SetHandler None
</Location>
<Location "/graphite/media/">
SetHandler None
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment