Indigo web server behind Apache reverse proxy

Posted on
Tue Nov 11, 2008 11:35 pm
Perry The Cynic offline
Posts: 840
Joined: Apr 07, 2008

Indigo web server behind Apache reverse proxy

I'm trying to take Indigo's built-in webserver and integrate it into my main website, using Apache 2's reverse proxy feature:

ProxyPass /home/house/ http://control.cynic.org:8176/
ProxyPassReverse /home/house/ http://control.cynic.org:8176/


(I.e. I want to use http://my_server/home/house/... to address the server. Control.cynic.org is not visible to the Internet. My main server is.)

This doesn't work; the generated web pages contain absolute URLs, for example /css/... or "/", which seem to just assume that the server is at the root of the namespace. Bummer.
How do I fix this? Do I edit the templates in IndigoWebServer? Can I just remove the leading "/" from those URLs there? Or what am I missing?

Thanks
-- perry

Posted on
Wed Nov 12, 2008 8:30 am
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: Indigo web server behind Apache reverse proxy


Image

Posted on
Wed Nov 12, 2008 11:15 pm
Perry The Cynic offline
Posts: 840
Joined: Apr 07, 2008

Re: Indigo web server behind Apache reverse proxy

support wrote:


Ah, thanks. I'll take the discussion there.

Cheers
-- perry

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests