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

62 lines
4.4 KiB
HTML

<?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="Handler for HTTP Server (powered by Apache)" />
<meta name="abstract" content="This topic provides a general overview of handlers." />
<meta name="description" content="This topic provides a general overview of handlers." />
<meta name="DC.Relation" scheme="URI" content="rzaieprogramming.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="rzaiehandler" />
<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>Handler for HTTP Server (powered by Apache)</title>
</head>
<body id="rzaiehandler"><a name="rzaiehandler"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Handler for HTTP Server (powered by Apache)</h1>
<div><p>This topic provides a general overview of handlers.</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>A handler is an internal representation of the action that is performed
when a file or URL is requested. Generally, files have implicit handlers,
based on the file type. Normally, all files are simply served by the server,
but certain file types are handled separately. For example, you may use a
type of <tt>application/x-httpd-cgi</tt> to invoke CGI scripts. </p>
<p>Handlers are unrelated to file type. They are either based on filename
extensions or on location. This allows both a type and a handler to be associated
with a file (see <a href="rzaiemod_mime.htm#multipleext">Files with Multiple Extensions</a>). </p>
<p>Handlers are either built into the server, built into a module, or are
added with the <a href="rzaiemod_actions.htm#action">Action</a> directive. The built-in handlers are: </p>
<ul><li><strong>default-handler</strong>: Send the file using the default_handler(), which
is the handler used by default to handle static content. (<a href="rzaiemod_core.htm">core</a>) </li>
<li><strong>send-as-is</strong>: Send file with HTTP headers as is (<a href="rzaiemod_asis.htm">mod_asis</a>). </li>
<li><strong>cgi-script</strong>: Treat the file as a CGI script (<a href="rzaiemod_cgi.htm">mod_cgi</a>).</li>
<li><strong> imap-file</strong>: Imagemap rule file (<a href="rzaiemod_imap.htm">mod_imap</a>).</li>
<li><strong>type-map</strong>: Parse as a type map file for content negotiation (<a href="rzaiemod_negotiation.htm">mod_negotiation</a>).</li>
<li><strong>proxy-server</strong>: Determine if file is local (<a href="rzaiemod_proxy.htm">mod_proxy</a>) </li>
</ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaieprogramming.htm" title="This topic provides information on CGI, directives, APIs, and other programming topics.">Programming</a></div>
</div>
</div>
</body>
</html>