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

From: André Füchsel <andre.fuechsel@dont-contact.us>
Date: Tue, 24 Aug 2004 15:41:43 +0200

Thanks Henry!

>> 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.

Well, the server contains an index.html, which contains the following line:

<meta http-equiv="refresh" content="0; url=index.jsp">

It should redirect to index.jsp. But I assumed, the URL rewriting is done
by squid in both direction, thus leading to http://192.168.200.10/index.jsp ?

> 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.

There is nothing I can fix - it is a standard JBoss application server with
integrated tomcat. Squid is just used as frontend for this configuration.
Am I going in the wrong direction?

Andre
Received on Tue Aug 24 2004 - 07:41:50 MDT

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