At 23:16 24.08.2004 +0200, Henrik Nordstrom wrote:

> >       http_accel_host 10.0.10.102

> This should be your public domain name for the site.

There is no public domain name, since squid is placed in DMZ and the JBoss server is placed behind a firewall in the user LAN. It can only be reached by using IP-Addresses. Why is it bad to use IP-Addresses? Should be transparent, shouldn't it? But I can of course place the IP in /etc/hosts...

But the problem with the port still remains. I cannot use port 80, so I must use a different port internally (8100).

I thought squid can be configured pretty much the same way like Apache's mod_proxy module. Here you can configure very easily what I want:

        ProxyRequests Off
        <Proxy *>
        Order deny,allow
        Allow from all
        </Proxy>

        ProxyPass /myapp http://10.0.10.102:8100/myapp
        ProxyPassReverse /myapp http://10.0.10.102:8100/myapp

The last line performs the URL rewriting.

It seems to me now, that squid cannot do the same. Unfortunately, Apache with mod_ssl (which we must use) is not running on Windows 2003 server, which we are forced to use :-( Therefore I was looking for an alternative solution. Any hints would be very much appreciated, I am out of options now. I rewally don't know, what to do now.

Andre




Reply via email to