Quote:
Originally Posted by CrazyIvan
I believe he's just using Apache's reverse proxy features
|
Yep, exactly - very useful indeed.
Quote:
Originally Posted by kovidgoyal
Would it help if gui.js used relative paths instead of absolute ones?
|
It would :)
I'm serving from http://domain.com/some/path/, /static is therefore http://domain.com/some/path/static/ (Which the reverse proxy rewrite takes care of), /library is at http://domain.com/some/path/library and /get is http://domain.com/some/path/get
Those last two, being called by gui.js, can't be rewritten by mod_proxy_html as it doesn't parse .js files
Quote:
Originally Posted by kovidgoyal
EDIT: I've changed gui.js to use the hostname+absolute path
|
It's honouring the path that's the issue, so an absolute path will be no good without additional JS jiggery-pokery.
Thanks for looking at this, it's appreciated.