Setting up output compression for HTTP Server (powered by Apache)
This topic provides information about how to set up output compression for HTTP Server (powered by Apache) with the Web Administration for i5/OS interface.
Information for this topic supports the latest PTF levels for HTTP Server for i5/OS . IBM recommends that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See IBM Service for more information.
In order to set up output compression, a filter must be inserted in the output filter chain. This is done using the SetOutputFilter directive. See File compression for HTTP Server (powered by Apache) for more information.
To set up output compression, do the following:
- Click the Manage tab.
- Click the HTTP Servers subtab.
- Select your HTTP Server (powered by Apache) from the Server list.
- Select the context you want to work with from the Server area list.
- Expand Server Properties.
- Click Compression.
- Click the Output Filters tab.
- Add an output filter:
There are two types of output filters. The first output filter type only requires a file extension and a filter name. The second output filter type requires a MIME type and filter name. For both output filter types, click Add under the appropriate table and specify the file extension, MIME type, and filter name.
- Click Continue.
- Click Add under the Set output filter table.
- Specify DEFLATE for the filter name.
- Click Apply.
You should now have something like the below example in your configuration.
- Example
AddOutputFilterByType DEFLATE text/html AddOutputFilter DEFLATE .html SetOutputFilter DEFLATESee Setting up input decompression for HTTP Server (powered by Apache) for more information.
Parent topic:
Compression tasks