Bugzilla – Bug 17631
Reverse proxying does not work due to absolute URLs
Last modified: 2012-12-12 09:26:47 UTC
Created attachment 7494 [details] Patch to fix absoulte URLs in web interface For reverse proxying to work, the web interface may not use absolute URLs. In many places, "[% webroot %]" etc. is already used. However there are also some absolute URLs left. Most notably the jsonrpc.js URL which completely kills all the functionality of the default skin. The attached patch (against 7.6.1) fixes all absolute URLs I could find and with it applied, reverse proxying works (at least after quick testing). Please have a quick look at the changes, as I'm not 100% sure, I've done everything correctly and apply it if appropriate.
Created attachment 7695 [details] Refreshed patch for 7.7.2 Bug still exists in 7.7.2. It's not just reverse proxying that doesn't work. It's also the alternate /slimserver/ path that is broken (and that path is useful with reverse proxies). I've refreshed the patch against version 7.7.2, and fixed the diff paths as well (the original patch said HTML.orig, which was wrong).