← Back to team overview

graphite-dev team mailing list archive

[Question #649193]: graphite-web url can not be changed to /graphite (404)

 

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

Hi,

I am trying to change the url of graphite-web to '/graphite'. I changed the follwing configs: 
First I uncommented URL_PREFIX = 'graphite' in /opt/graphite/webapp/graphite/local_settings.py
Then I changed one line in /etc/apache2/sites-available/apache2-graphite.conf:
WSGIScriptAlias / /usr/share/graphite-web/graphite.wsgi  
to  
WSGIScriptAlias /graphite /usr/share/graphite-web/graphite.wsgi/graphite
This does produce the following error: 
'Not Found
The requested URL /composer/ was not found on this server.'
As far as I can see this seems to be an issue with the url_prefix-function. What, if anything, am I doing wrong?
Thanks for your help!


-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.