Name
mime_table
Synopsis
Squid uses the information in this file for FTP and Gopher requests. Unlike HTTP,
these protocols don’t inform clients about the type of data they
transfer. When Squid gateways the response from an FTP server to an
HTTP client, it must insert Content-Type and other headers. Squid uses
the MIME table file to convert filename extensions into:
Values for the
Content-TypeheaderIcons that are displayed for directory listings
Content-Encodingheader values for compressed dataTransfer type options for FTP servers, either image or ascii; this corresponds to the
TYPEcommand in the FTP protocol
Please refer to the sample mime.conf for an explanation of the format of this file.
Syntax | mime_table |
Default | mime_table |
Example | mime_table /usr/local/squid/etc/my-mime-types.txt |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access