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/ http://xxx003.xxx.com:8080/
ProxyPassReverse /graphite3/ http://xxx003.xxx.com:8080

ProxyPass /graphite4/ http://xxx004.xxx.com:8080/
ProxyPassReverse /graphite4/ http://xxx004xxx.com:8080
...

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?

Thanks,
Erik Larkin

Question information

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

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 :
#2

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