[squid-users] CSS / mime-type rendering issue

From: Steve Finkelstein <sfinkelstein@dont-contact.us>
Date: Fri, 15 Dec 2006 18:11:06 -0500

Hi all,

I've encountered a quite burdensome issue. I can't load the following
URL using a Squid proxy:
http://www.urbanauto.blackplanet.com/site/home/homepage.php

Now, I certainly cannot blame squid for this issue. Here's why. I
changed the default gateway on our squid box to an office gateway (we
normally have the default gateway on the squid box to a higher
availability/bandwidth cross-connect to our datacenter.) When I change
the default gateway, the site loads fine. As a result, I thought the
issue was fixed. However, I noticed the following in access logs when
the site does load and doesn't load.

Unsuccessful (when the default gateway to our cross connect is set in
the routing table):
1165962880.998 4212 192.168.100.59 TCP_MISS/200 1522 GET
http://urbanauto.blackplanet.com/site/css/main.css - DIRECT/72.3.142.29
text/css

Successful: (when the default gateway uses an office router, defeating
the purpose of our proxy):
1166217656.382 1649 192.168.101.106 TCP_MISS/304 208 GET
http://www.urbanauto.blackplanet.com/site/css/main.css -
DIRECT/72.3.142.29 -

Notice the last field sets a specific mime type "text/css" for one
gateway and '-' for the other? That could be correlated because that's
the file where it is hanging. Every successful pull of main.css gets a
'-'. The unsuccessful pull which only grabs about half the css file is
"text/css".

Attached is my squid.conf: http://stevefink.net/squid.conf.cci

Thanks again for all of your suggestions.

Steve

---- squid.conf ----

!DSPAM:3343,45832b7f306121421315691!
Received on Fri Dec 15 2006 - 16:11:03 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST