Fortinet 461 FortiWeb 5.0 Patch 6 Administration Guide
4. Click Create New.
A dialog appears.
5. In Name, type a name that can be referenced by other parts of the configuration. Do not use
spaces or special characters. The maximum length is 35 characters.
6. Click OK.
7. From Exclusion URL, you can select an existing exclusion. (See“Configuring
compression/decompression exemptions” on page 456.)
Optionally, select an exclusion and click the Detail link. The exclusion dialog appears. You
can view and edit the exclusion. Use the browser Back button to return.
8. To add or remove a content type, click Add Content Type.
A dialog appears.
9. In the Content Types list, select the content types that you want to decompress, then click
the right arrow (->) to move them to the Allow Types list.
For external JavaScripts, content type strings vary. If you are unsure of the content type
string, for maximum coverage, select all JavaScript content type strings. However, due to
wide browser compatibility, despite its current deprecated status, many web servers use
text/javascript.
10.Click OK.
11.To apply a decompression policy, select it in an inline or offline protection profile used by a
server policy (see “Configuring a protection profile for inline topologies” on page 468 or
Clear all
Delete
These decompress only JavaScripts that are external to a web page — that is, not directly
embedded in a <script> tag or inline in the HTML document itself, but instead included via
reference to a JavaScript file, such as <script src="/nav/menu.js">, and therefore are
contained in a separate HTTP response from the HTML document. Likewise, selecting the
text/css content type for compression will only compress external CSS. It will not
decompress CSS embedded directly within the HTML file. (Embedded CSS or JavaScript are
governed by Content-Type: text/html instead.)