RE: [squid-users] accelerating proxy and default page (index.html )

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 24 Aug 2004 15:12:41 +0200 (CEST)

On Tue, 24 Aug 2004, André Füchsel wrote:

> More analysis follows: It seems, that it depends on
> "httpd_accel_uses_host_header on".
> If I use Mozilla Firebird to connect to the squid proxy url using
> "http://192.168.200.12",
> the URL is REWRITTEN in the browser to "http://192.168.200.12:8100" which is
> OF COURSE
> wrong! If I use "http://192.168.200.12/index.html" no rewriting happens and
> everything
> works fine.

This rewrite is done by your web server, as can be seen in the HTTP status
302 in the response.

> I tried to change the setting of "http_accel_uses_host_header off". But
> now more strange things happen: If I try to connect to
> "http://192.168.200.12", the URL is completely rewritten to the proxied
> URL: "http://10.0.10.102:8100". This is not the expected behavior since
> squid should HIDE the internal addresses!

Again, this is your web server doing the rewrite.

> Could somebody help me with the correct squid settings? The faster the
> better, it is unfortunately very urgent. :-) Thanks a lot.

Fix your web server, or at least make sure your web server is not
confused in how it is supposed to be accessed by the browsers.

Regards
Henrik
Received on Tue Aug 24 2004 - 07:12:43 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT