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

From: Andr� F�chsel <[email protected]>
Date: Tue, 24 Aug 2004 08:51:21 +0200

At 04:59 24.08.2004 +0200, Internet Admin wrote:
> Hmmm, guess index.html is not listed on your configuration as the
> default
> file to lookup, if you are using apache, look under DirectoryIndex...

Well, I am using JBoss as backend server. It is configured correctly.
Here are my relevant squd settings. Hope this helps:

        http_port 80

        httpd_accel_host 10.0.10.102
        httpd_accel_port 8100
        httpd_accel_single_host on
        httpd_accel_uses_host_header on

Thus, when I connect directly to JBoss (http://10.0.10.102:8100), the access
log looks like this, and I get automatically the index.html page, which
forwards me to the index.jsp page:

10.0.1.55 - - [24/Aug/2004:08:32:24 +0100] "GET / HTTP/1.1" 302 -
10.0.1.55 - - [24/Aug/2004:08:32:24 +0100] "GET /index.html HTTP/1.1" 304 -
10.0.1.55 - - [24/Aug/2004:08:32:24 +0100] "GET /index.jsp HTTP/1.1" 200 2534

But when I connect through squid (http://192.168.200.12/), the access log
looks different and I am not shown the index.html page:

192.168.200.12 - - [24/Aug/2004:08:32:12 +0100] "GET / HTTP/1.0" 302 -

Did you notice the difference? Here the protocol is HTTP/1.0! Does squid
connect to the backend server with HTTP/1.0? Can this be configured somewhere?

Would be great, if somebody couzld help me with this!

Rgds.

Andre
Received on Tue Aug 24 2004 - 00:51:29 MDT

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