New question #158422 on Graphite:
https://answers.launchpad.net/graphite/+question/158422

I setup Graphite 0.9.8 on Ubuntu 10.10 box using mod_python using a sample 
vhost conf :

<VirtualHost *:80>
        ServerName graphite.mycorp.com
        DocumentRoot "/opt/graphite/webapp"
        ErrorLog /var/log/apache2/graphite.mycorp.com-error.log
        CustomLog /var/log/apache2/graphite.mycorp.com-access.log common

        <Location "/">
                SetHandler python-program
                PythonPath "['/opt/graphite/webapp'] + sys.path"
                PythonHandler django.core.handlers.modpython
                SetEnv DJANGO_SETTINGS_MODULE graphite.settings
                PythonDebug Off
                PythonAutoReload Off
        </Location>

        <Location "/content/">
                SetHandler None
        </Location>

        <Location "/media/">
                SetHandler None
        </Location>

        # NOTE: In order for the django admin site media to work you
        # must change @DJANGO_ROOT@ to be the path to your django
        # installation, which is probably something like:
        # /usr/lib/python2.6/site-packages/django
        # Alias /media/ 
"/usr/lib/pymodules/python2.7/django/contrib/admin/media"
        Alias /media/ "/usr/share/pyshared/django/contrib/admin/media"

</VirtualHost>

Did there is a sample Vhost available for wsgi, since I read it's the 
recommanded way now.

Thanks for your help


-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to