ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaie_5.4.0.1/rzaiesetoutputcmprsn.htm

76 lines
5.1 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="topic" />
<meta name="DC.Title" content="Set up output compression for HTTP Server (powered by Apache)" />
<meta name="abstract" content="This topic provides information about how to set up output compression for HTTP Server (powered by Apache) with the IBM Web Administration for i5/OS interface." />
<meta name="description" content="This topic provides information about how to set up output compression for HTTP Server (powered by Apache) with the IBM Web Administration for i5/OS interface." />
<meta name="DC.Relation" scheme="URI" content="rzaieparcomp.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2002,2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2002,2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiesetoutputcmprsn" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Set up output compression for HTTP Server (powered by Apache)</title>
</head>
<body id="rzaiesetoutputcmprsn"><a name="rzaiesetoutputcmprsn"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Set up output compression for HTTP Server (powered by Apache)</h1>
<div><p>This topic provides information about how to set up output compression
for HTTP Server (powered by Apache) with the <span>IBM<sup>®</sup> Web Administration for i5/OS™ interface</span>.</p>
<div class="important"><span class="importanttitle">Important:</span> Information
for this topic supports the latest PTF levels for HTTP Server for i5/OS .
It is recommended 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 <a href="http://www-03.ibm.com/servers/eserver/iseries/software/http/services/service.html" target="_blank">http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm</a> <img src="www.gif" alt="Link outside Information Center" /> for more information. </div>
<p>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 <a href="rzaiecompression.htm">File compression for HTTP Server (powered by Apache)</a> for more information.</p>
<p>To set up output compression, do the following:</p>
<ol><li>Click the <span class="uicontrol">Manage</span> tab.</li>
<li>Click the <span class="uicontrol">HTTP Servers</span> subtab.</li>
<li>Select your HTTP Server (powered by Apache) from the <span class="uicontrol">Server</span> list.</li>
<li>Select the <a href="rzaiecontext.htm">context</a> you
want to work with from the <span class="uicontrol">Server area</span> list.</li>
<li>Expand <span class="uicontrol">Server Properties</span>.</li>
<li>Click <span class="uicontrol">Compression</span>.</li>
<li>Click the <span class="uicontrol">Output Filters</span> tab.</li>
<li>Add an output filter:<p>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 <span class="uicontrol">Add</span> under the appropriate table and specify
the file extension, MIME type, and filter name.</p>
</li>
<li>Click <span class="uicontrol">Continue</span>.</li>
<li>Click <span class="uicontrol">Add</span> under the <strong>Set output filter</strong> table.</li>
<li>Specify DEFLATE for the filter name.</li>
<li>Click <span class="uicontrol">Apply</span>.</li>
</ol>
<p>You should now have something like the below example in your configuration.</p>
<dl><dt class="dlterm">Example</dt>
<dd><pre>AddOutputFilterByType DEFLATE text/html
AddOutputFilter DEFLATE .html
SetOutputFilter DEFLATE</pre>
</dd>
</dl>
<p>See <a href="rzaiesetinputdecmprsn.htm">Set up input decompression for HTTP Server (powered by Apache)</a> for more
information.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaieparcomp.htm" title="This topic provides step-by-step tasks for configuration and management of compression files.">Compression tasks</a></div>
</div>
</div>
</body>
</html>