Thanks a lot for these tips. They helped understanding where the problem
was comming from. It's Apache's mod_cache fault.
A temporary workaround is totally disabling mod_cache, by comenting the
corresponding line on:
/etc/httpd/conf.d/55_mod_cache.conf
<IfDefine HAVE_CACHE>
<IfModule !mod_cache.c>
# LoadModule cache_module modules/mod_cache.so
</IfModule>
</IfDefine>
This is a Apache-AdvancedExtranetServer/2.0.50
(Mandrakelinux/7.2.101mdk) from Mandrake 10.1
Regards,
Pedro Pessoa
Henrik Nordstrom wrote:
> On Tue, 21 Jun 2005, Pedro Pessoa wrote:
>
>> 1119379558.719 3921 192.168.1.100 TCP_MISS/200 13178 GET
>> http://angulosolido.pt/index.html - DIRECT/195.23.112.199 text/plain
>> [Host: angulosolido.pt\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux
>> i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0\r\nAccept:
>> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language:
>> en-us,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset:
>> ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive:
>> 300\r\nProxy-Connection: keep-alive\r\n] [HTTP/1.1 200 OK\r\nDate:
>> Tue, 21 Jun 2005 18:45:56 GMT\r\nServer:
>> Apache-AdvancedExtranetServer/2.0.50 (Mandrakelinux/7.2.101mdk)
>> mod_perl/1.99_16 Perl/v5.8.5 PHP/4.3.8\r\nETag:
>> "1000d1-31fa-c17fccc0"\r\nAccept-Ranges: bytes\r\nLast-Modified: Tue,
>> 14 Jun 2005 00:31:23 GMT\r\nContent-Length: 12794\r\nContent-Type:
>> text/plain\r\nAge: 27776\r\nKeep-Alive: timeout=15,
>> max=100\r\nConnection: Keep-Alive\r\n\r]
>>
>> Any thoughts?
>
>
> Broken web server, returning text/plain content-type if the request
> has a Cache-Control: max-age header but no Pragma: no-cache header.
>
> GET /index.html HTTP/1.0
> Host: angulosolido.pt
> Cache-Control: max-age=259200
>
> returns text/plain
>
>
> GET /index.html HTTP/1.0
> Host: angulosolido.pt
>
> or
>
> GET /index.html HTTP/1.0
> Host: angulosolido.pt
> Cache-Control: max-age=259200
> Pragma: no-cache
>
> returns text/html..
>
>
>
> not Squids fault, it just happens to trigger the quite obscure
> webserver bug.
>
> Regards
> Henrik
>
Received on Thu Jun 23 2005 - 01:06:49 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:03 MDT