On 4/24/07, Tony Clark <tclark@clarktechnical.com> wrote:
> I have a back end web server running jboss on Windows.
>
> I am running squid in a reverse proxy configuration. Everything works,
> except when squid redirects to the web server, the browser shows the URL
> of the back end web server.
>
> This is especially problematic because the back end web server has a
> public IP address (192.168.1.1 for example - which means nothing on the
> web).
>
> I have another site with the exact same configuration, but a different
> back end web server. I copied the squid files between sites.
>
> It works fine at one site and not at the other.
>
> I appreciate any help or advice.
There's not much you can do within squid, I'm afraid.
Squid doesn't rewrite content on-the-fly; the back-end web-application
must be aware of squid being in front of it and avoid to expose the
private address. This can typically be done by only using relative
URLs in the processed output, and by correctly setting the server's
visible_hostname (or equivalent: in Apache's case, it's ServerName)
-- /kinkieReceived on Tue Apr 24 2007 - 01:30:54 MDT
This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT