|
Home > Archive > Squid > October 2004 > Incorrect MIME type
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Incorrect MIME type
|
|
| Greg T 2004-07-28, 5:48 pm |
| Hi,
I have a squid proxy server which usually runs fine, except for one page
on one site with the name of Readme.html.
Squid returns the MIME type of this file as text/plain, despite being
explicitly told in /etc/squid/mime.conf that anything ending with html
should be text/html.
I have tried resetting squids cache (by means of deleting and recreating
the /var/spool/squid directory), clearing store.log, and client -m PURGE
commands, but to no avail.
Is there a generic solution to this type of problem?
thanks,
Greg
| |
| Greg T 2004-07-28, 5:48 pm |
| I mean, if squid's mime.conf says *.html shalt be "text/html" then
surely that MIME type should be returned to the browser, no?
The silly thing is that nobody else that I can find seems to have had
this problem.
Greg
Greg T wrote:
> Hi,
>
> I have a squid proxy server which usually runs fine, except for one page
> on one site with the name of Readme.html.
>
> Squid returns the MIME type of this file as text/plain, despite being
> explicitly told in /etc/squid/mime.conf that anything ending with html
> should be text/html.
>
> I have tried resetting squids cache (by means of deleting and recreating
> the /var/spool/squid directory), clearing store.log, and client -m PURGE
> commands, but to no avail.
>
> Is there a generic solution to this type of problem?
>
> thanks,
> Greg
| |
| Muthukumar_K 2004-10-12, 5:01 pm |
| What is your squid version there. Get that as,
path to squid binary/squid -v
It will give that information. Try to upgrade that's age to 2.5.6 series > or more.
Can you get wget informations for that file there.
wget http://www..../.../Readme.html
It is good to analyse this problem with the squid's access.log entry for that file access more.
HTH.
REgards
Muthukumar.
Visolve Squid Support Team.
url: http://squid.visolve.com/squid/index.htm
mail: support@visolve.com |
|
|
|
|