home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Book HomeWebmaster in a Nutshell, 3rd EditionSearch this book

19.24. mod_mime

The mod_mime module contains directives that help to organize various MIME types on the server.

AddCharsetAddCharset character_set extensions ...

[server config, or within <VirtualHost> or <Directory>, or .htaccess]
Associates the specified filename extensions with the named MIME character set. If the extensions are already mapped to another characher set, they are remapped to this one.

DefaultLanguage

DefaultLanguage language

[server config, or within <VirtualHost> or <Directory>, or .htaccess]

Specifies the default language for any files that are not associated with a particular language via AddLanguage.

RemoveEncodingRemoveEncoding extensions ...

[Within <Directory>, or .htaccess]

Removes any associated encodinges for files matching the specified extensions.

RemoveHandlerRemoveHandler extensions ...

[Within <Directory>, or .htaccess]

Removes any associated handlers for files matching the specified extensions.

RemoveTypeRemoveType extensions ...

[Within <Directory>, or .htaccess]

Removes any associated MIME types for files matching the specified extensions.

SetHandler

SetHandler handler

[Within <Directory>, or .htaccess]

Specifies that all files in the directory should be passed through the specified handler. Values are:

cgi-script
All files treated as CGI scripts (see Chapter 12)

imap-file
All files treated as imagemap files

send-as-is
All files sent as is without additional server-supplied HTTP headers

server-info
All files sent with server configuration information

server-parsed
All files parsed as server-side includes (see Chapter 12)

type-map
All files parsed as type map files for content negotiation



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.











??????????????@Mail.ru