[Prev: MIMEDECODERS] | [Next: MIMEFILTERS] |
N/A
<MIMEEXCS>
content-type
content-type
...
</MIMEEXCS>
N/A
MIMEEXCS defines the list of content-types to exclude from processing. The exclusion occurs before the data is processed to any filters registered via the MIMEFILTERS resource.
For example, if MIMEEXCS is set to the following:
<MIMEExcs> image/jpg image/gif </MIMEExcs>
Then JPEG and GIF images will be excluded.
Base types can be listed in order exclude all content-types with a give base. For example,
<MIMEExcs> image </MIMEExcs>
will exclude all images.
If all you want to do is include a specified set of media-types, then use the MIMEINCS resource instead.
Nil.
N/A
The following example excludes all binaries, images, and postscript data:
<MIMEExcs> application/octet-stream application/postscript image </MIMEExcs>
The following is a very restrictive setting to minimize security risks and large data files:
<MIMEExcs> application image audio video text/html </MIMEExcs>
For tighter control of allowable media-types, see the MIMEINCS resource.
2.4.9
MIMEALTPREFS, MIMEFILTERS, MIMEINCS
[Prev: MIMEDECODERS] | [Next: MIMEFILTERS] |