This filter blocks content based on the value of Content-Type HTTP response header.
One or more content_type parameters define a set of content types this instance of the filter will block.
Here are some examples of common content types:
| */* | All content types. If this value is included, the filter is equivalent to Blacklist filter (blocks everything). |
| image/* | All image content types. |
| image/gif | GIF images. |
| image/jpeg | JPEG images. |
| image/png | PNG images. |
| application/x-shockwave-flash | Shockwave aminations. |
| text/* | All text content types. |
| text/html | HTML. |
| text/javascript | Javascript. If this value is included, the filter is equivalent to a simplified version of Script Filter, but will handle only external scripts (<script src="..."/>) and alow built-in scripts (<script>...</script>). |
The action parameter specifies access blocking method.
Format:
action = disconnect action = redirect:URL
See also Common Filter Parameters.
type = Content Type Filter name = Shockwave Blocker enabled = true logging = true include = * action = redirect content_type = application/x-shockwave-flash
Web UI equivalent: