Proxy access fails with 0.9.8

Asked by Erik Larkin

We have two Graphite installations, one older 0.9.6 install and a newer 0.9.8. To reach either we have to go through an apache proxy which we control, set up with a simple ProxyPass config for either installation.

Both servers are set up with identical virtual host configs that listen on port 8080. Direct access to the 0.9.8 server works fine, but proxy access is broken. When attempting to reach Graphite via the proxy we see the top-bar links for Dashboard UI, Command-Line Interface, etc., and one broken image left of the links for what's supposed to be the graphite_short.png image, and nothing else.

Perhaps the best test we've run is to set up the following proxy config:

ProxyPass /graphite3/
ProxyPassReverse /graphite3/

ProxyPass /graphite4/
ProxyPassReverse /graphite4/

Access to graphite3/ (the 0.9.6 install) works fine, access to graphite4/ is busted as described above. That seems to point the finger at the graphite config on 004 (the 0.9.8 install), but I can't find anything in any of the conf's that makes any difference. Has anyone run into this before?

Erik Larkin

Question information

English Edit question
Graphite Edit question
No assignee Edit question
Solved by:
Erik Larkin
Last query:
Last reply:
Revision history for this message
Michael Leinartas (mleinartas) said :

It's a known bug that the Graphite webapp doesn't work properly when not served from the root. Until this gets resolved in the codebase you'll need to instead use VirtualHosts if youre going to proxy multiple servers by different name.

Sorry to disappoint

Revision history for this message
Erik Larkin (erik-larkin) said :

Thanks Michael, it helps a great deal to learn that it's a known bug and not something we've misconfigured. Appreciate the info.