6aada32e978e09cc60d52cb05ae4cee91b676da1slive<?xml version="1.0"?>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
e942c741056732f50da2074b36fe59805d370650slive<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd<!-- $LastChangedRevision$ -->
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd<!--
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding Licensed to the Apache Software Foundation (ASF) under one or more
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding contributor license agreements. See the NOTICE file distributed with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding this work for additional information regarding copyright ownership.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding The ASF licenses this file to You under the Apache License, Version 2.0
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding (the "License"); you may not use this file except in compliance with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding the License. You may obtain a copy of the License at
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd http://www.apache.org/licenses/LICENSE-2.0
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd Unless required by applicable law or agreed to in writing, software
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd distributed under the License is distributed on an "AS IS" BASIS,
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd See the License for the specific language governing permissions and
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd limitations under the License.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd-->
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd
7db9f691a00ead175b03335457ca296a33ddf31bnd<modulesynopsis metafile="mod_isapi.xml.meta">
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<name>mod_isapi</name>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<description>ISAPI Extensions within Apache for Windows</description>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<status>Base</status>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<sourcefile>mod_isapi.c</sourcefile>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<identifier>isapi_module</identifier>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<compatibility>Win32 only</compatibility>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<summary>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>This module implements the Internet Server extension API. It
6aada32e978e09cc60d52cb05ae4cee91b676da1slive allows Internet Server extensions (<em>e.g.</em> ISAPI .dll
6aada32e978e09cc60d52cb05ae4cee91b676da1slive modules) to be served by Apache for Windows, subject to the
6aada32e978e09cc60d52cb05ae4cee91b676da1slive noted restrictions.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>ISAPI extension modules (.dll files) are written by third
6aada32e978e09cc60d52cb05ae4cee91b676da1slive parties. The Apache Group does not author these modules, so we
6aada32e978e09cc60d52cb05ae4cee91b676da1slive provide no support for them. Please contact the ISAPI's author
6aada32e978e09cc60d52cb05ae4cee91b676da1slive directly if you are experiencing problems running their ISAPI
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele extension. <strong>Please <em>do not</em> post such problems to
6aada32e978e09cc60d52cb05ae4cee91b676da1slive Apache's lists or bug reporting pages.</strong></p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</summary>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele<section id="usage"><title>Usage</title>
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele <p>In the server configuration file, use
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele the <directive module="mod_mime">AddHandler</directive> directive to
71d0b2e0d735f3a2dbe7820f37266a7fda29a5b9rbowen associate ISAPI files with the <code>isapi-handler</code> handler, and map
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele it to them with their file extensions. To enable any .dll file to be
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele processed as an ISAPI extension, edit the httpd.conf file and add the
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele following line:</p>
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh <highlight language="config">
27e6eee1c390aae0018eaee26434b8463dc66686lgentis AddHandler isapi-handler .dll
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh </highlight>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
bc4b55ec8f31569d606d5680d50189a355bcd7a6rbowen <note>In older versions of the Apache server,
bc4b55ec8f31569d606d5680d50189a355bcd7a6rbowen <code>isapi-isa</code> was the proper handler name, rather than
bc4b55ec8f31569d606d5680d50189a355bcd7a6rbowen <code>isapi-handler</code>. As of 2.3 development versions of the Apache
bc4b55ec8f31569d606d5680d50189a355bcd7a6rbowen server, <code>isapi-isa</code> is no longer valid. You will need to
bc4b55ec8f31569d606d5680d50189a355bcd7a6rbowen change your configuration to use <code>isapi-handler</code>
bc4b55ec8f31569d606d5680d50189a355bcd7a6rbowen instead.</note>
bc4b55ec8f31569d606d5680d50189a355bcd7a6rbowen
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>There is no capability within the Apache server to leave a
6aada32e978e09cc60d52cb05ae4cee91b676da1slive requested module loaded. However, you may preload and keep a
6aada32e978e09cc60d52cb05ae4cee91b676da1slive specific module loaded by using the following syntax in your
6aada32e978e09cc60d52cb05ae4cee91b676da1slive httpd.conf:</p>
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh <highlight language="config">
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele ISAPICacheFile c:/WebWork/Scripts/ISAPI/mytest.dll
4c05a0bde64b79d08f4a8791e5919151ff353849humbedooh </highlight>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>Whether or not you have preloaded an ISAPI extension, all
6aada32e978e09cc60d52cb05ae4cee91b676da1slive ISAPI extensions are governed by the same permissions and
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and restrictions as CGI scripts. That is, <directive module="core"
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and >Options</directive> <code>ExecCGI</code> must be set for the
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and directory that contains the ISAPI .dll file.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>Review the <a href="#notes">Additional Notes</a> and the <a
6aada32e978e09cc60d52cb05ae4cee91b676da1slive href="#journal">Programmer's Journal</a> for additional details
6aada32e978e09cc60d52cb05ae4cee91b676da1slive and clarification of the specific ISAPI support offered by
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <module>mod_isapi</module>.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</section>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<section id="notes"><title>Additional Notes</title>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>Apache's ISAPI implementation conforms to all of the ISAPI
6aada32e978e09cc60d52cb05ae4cee91b676da1slive 2.0 specification, except for some "Microsoft-specific"
6aada32e978e09cc60d52cb05ae4cee91b676da1slive extensions dealing with asynchronous I/O. Apache's I/O model
6aada32e978e09cc60d52cb05ae4cee91b676da1slive does not allow asynchronous reading and writing in a manner
6aada32e978e09cc60d52cb05ae4cee91b676da1slive that the ISAPI could access. If an ISA tries to access
6aada32e978e09cc60d52cb05ae4cee91b676da1slive unsupported features, including async I/O, a message is placed
6aada32e978e09cc60d52cb05ae4cee91b676da1slive in the error log to help with debugging. Since these messages
6aada32e978e09cc60d52cb05ae4cee91b676da1slive can become a flood, the directive <code>ISAPILogNotSupported
6aada32e978e09cc60d52cb05ae4cee91b676da1slive Off</code> exists to quiet this noise.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>Some servers, like Microsoft IIS, load the ISAPI extension
6aada32e978e09cc60d52cb05ae4cee91b676da1slive into the server and keep it loaded until memory usage is too
6aada32e978e09cc60d52cb05ae4cee91b676da1slive high, or unless configuration options are specified. Apache
6aada32e978e09cc60d52cb05ae4cee91b676da1slive currently loads and unloads the ISAPI extension each time it is
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and requested, unless the <directive module="mod_isapi"
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and >ISAPICacheFile</directive> directive is specified.
6aada32e978e09cc60d52cb05ae4cee91b676da1slive This is inefficient, but Apache's memory model makes this the
6aada32e978e09cc60d52cb05ae4cee91b676da1slive most effective method. Many ISAPI modules are subtly
6aada32e978e09cc60d52cb05ae4cee91b676da1slive incompatible with the Apache server, and unloading these
6aada32e978e09cc60d52cb05ae4cee91b676da1slive modules helps to ensure the stability of the server.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>Also, remember that while Apache supports ISAPI Extensions,
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and it <strong>does not support ISAPI Filters</strong>. Support for
6aada32e978e09cc60d52cb05ae4cee91b676da1slive filters may be added at a later date, but no support is planned
6aada32e978e09cc60d52cb05ae4cee91b676da1slive at this time.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</section>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<section id="journal"><title>Programmer's Journal</title>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>If you are programming Apache 2.0 <module>mod_isapi</module>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and modules, you must limit your calls to <code>ServerSupportFunction</code>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and to the following directives:</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dl>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_REQ_SEND_URL_REDIRECT_RESP</code></dt>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dd>Redirect the user to another location.<br />
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and This must be a fully qualified URL (<em>e.g.</em>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>http://server/location</code>).</dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_REQ_SEND_URL</code></dt>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dd>Redirect the user to another location.<br />
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and This cannot be a fully qualified URL, you are not allowed to
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and pass the protocol or a server name (<em>e.g.</em> simply
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>/location</code>).<br />
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and This redirection is handled by the server, not the
6aada32e978e09cc60d52cb05ae4cee91b676da1slive browser.<br />
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <note type="warning"><title>Warning</title>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p>In their recent documentation, Microsoft appears to have
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and abandoned the distinction between the two
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>HSE_REQ_SEND_URL</code> functions. Apache continues to treat
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and them as two distinct functions with different requirements
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and and behaviors.</p>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and </note></dd>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_REQ_SEND_RESPONSE_HEADER</code></dt>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dd>Apache accepts a response body following the header if it
6aada32e978e09cc60d52cb05ae4cee91b676da1slive follows the blank line (two consecutive newlines) in the
6aada32e978e09cc60d52cb05ae4cee91b676da1slive headers string argument. This body cannot contain NULLs,
6aada32e978e09cc60d52cb05ae4cee91b676da1slive since the headers argument is NULL terminated.</dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_REQ_DONE_WITH_SESSION</code></dt>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dd>Apache considers this a no-op, since the session will be
6aada32e978e09cc60d52cb05ae4cee91b676da1slive finished when the ISAPI returns from processing.</dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_REQ_MAP_URL_TO_PATH</code></dt>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dd>Apache will translate a virtual name to a physical
6aada32e978e09cc60d52cb05ae4cee91b676da1slive name.</dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_APPEND_LOG_PARAMETER</code></dt>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive This logged message may be captured in any of the following
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess logs:
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <ul>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <li>in the <code>\"%{isapi-parameter}n\"</code> component in a
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <directive module="mod_log_config">CustomLog</directive>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and directive</li>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <li>in the <code>%q</code> log component with the
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <directive module="mod_isapi">ISAPIAppendLogToQuery</directive>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>On</code> directive</li>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <li>in the error log with the <directive module="mod_isapi"
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and >ISAPIAppendLogToErrors</directive> <code>On</code> directive</li>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive </ul>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p>The first option, the <code>%{isapi-parameter}n</code> component,
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and is always available and preferred.</p>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and </dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_REQ_IS_KEEP_CONN</code></dt>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dd>Will return the negotiated Keep-Alive status.</dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_REQ_SEND_RESPONSE_HEADER_EX</code></dt>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dd>Will behave as documented, although the <code>fKeepConn</code>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and flag is ignored.</dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <dt><code>HSE_REQ_IS_CONNECTED</code></dt>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <dd>Will report false if the request has been aborted.</dd>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive </dl>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p>Apache returns <code>FALSE</code> to any unsupported call to
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>ServerSupportFunction</code>, and sets the
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>GetLastError</code> value to
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>ERROR_INVALID_PARAMETER</code>.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p><code>ReadClient</code> retrieves the request body exceeding the
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and initial buffer (defined by <directive module="mod_isapi"
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and >ISAPIReadAheadBuffer</directive>). Based on the
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <directive>ISAPIReadAheadBuffer</directive> setting (number of bytes
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and to buffer prior to calling the ISAPI handler) shorter requests are sent
6aada32e978e09cc60d52cb05ae4cee91b676da1slive complete to the extension when it is invoked. If the request is
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and longer, the ISAPI extension must use <code>ReadClient</code> to
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and retrieve the remaining request body.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p><code>WriteClient</code> is supported, but only with the
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>HSE_IO_SYNC</code> flag or no option flag (value of
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>0</code>). Any other <code>WriteClient</code> request
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and will be rejected with a return value of <code>FALSE</code>, and a
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>GetLastError</code> value of
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>ERROR_INVALID_PARAMETER</code>.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p><code>GetServerVariable</code> is supported, although extended server
6aada32e978e09cc60d52cb05ae4cee91b676da1slive variables do not exist (as defined by other servers.) All the
6aada32e978e09cc60d52cb05ae4cee91b676da1slive usual Apache CGI environment variables are available from
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <code>GetServerVariable</code>, as well as the <code>ALL_HTTP</code>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and and <code>ALL_RAW</code> values.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
33d6d297ef4fe7ea963e9641c8482d677f557df0ylavic <p>Since httpd 2.0, <module>mod_isapi</module> supports additional
6aada32e978e09cc60d52cb05ae4cee91b676da1slive features introduced in later versions of the ISAPI specification,
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and as well as limited emulation of async I/O and the
460c5eb0d05efed62fd7aa35162dc7a68f026919igalic <code>TransmitFile</code> semantics. Apache httpd also supports preloading
460c5eb0d05efed62fd7aa35162dc7a68f026919igalic ISAPI .dlls for performance.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</section>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<directivesynopsis>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<name>ISAPICacheFile</name>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<description>ISAPI .dll files to be loaded at startup</description>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<syntax>ISAPICacheFile <var>file-path</var> [<var>file-path</var>]
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and...</syntax>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<contextlist><context>server config</context><context>virtual host</context>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and</contextlist>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<usage>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>Specifies a space-separated list of file names to be loaded
6aada32e978e09cc60d52cb05ae4cee91b676da1slive when the Apache server is launched, and remain loaded until the
6aada32e978e09cc60d52cb05ae4cee91b676da1slive server is shut down. This directive may be repeated for every
6aada32e978e09cc60d52cb05ae4cee91b676da1slive ISAPI .dll file desired. The full path name of each file should
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and be specified. If the path name is not absolute, it will be treated
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and relative to <directive module="core">ServerRoot</directive>.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</usage>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<name>ISAPIReadAheadBuffer</name>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<description>Size of the Read Ahead Buffer sent to ISAPI
6aada32e978e09cc60d52cb05ae4cee91b676da1sliveextensions</description>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<syntax>ISAPIReadAheadBuffer <var>size</var></syntax>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<default>ISAPIReadAheadBuffer 49152</default>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<contextlist><context>server config</context><context>virtual host</context>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<context>directory</context><context>.htaccess</context></contextlist>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<override>FileInfo</override>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<usage>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>Defines the maximum size of the Read Ahead Buffer sent to
6aada32e978e09cc60d52cb05ae4cee91b676da1slive ISAPI extensions when they are initially invoked. All remaining
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and data must be retrieved using the <code>ReadClient</code> callback; some
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and ISAPI extensions may not support the <code>ReadClient</code> function.
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and Refer questions to the ISAPI extension's author.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</usage>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<name>ISAPILogNotSupported</name>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<description>Log unsupported feature requests from ISAPI
6aada32e978e09cc60d52cb05ae4cee91b676da1sliveextensions</description>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<syntax>ISAPILogNotSupported on|off</syntax>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<default>ISAPILogNotSupported off</default>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<contextlist><context>server config</context><context>virtual host</context>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<context>directory</context><context>.htaccess</context></contextlist>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<override>FileInfo</override>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<usage>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive <p>Logs all requests for unsupported features from ISAPI
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess extensions in the server error log. This may help administrators
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess to track down problems. Once set to on and all desired ISAPI modules
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess are functioning, it should be set back to off.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</usage>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<name>ISAPIAppendLogToErrors</name>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<description>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4andISAPI extensions to the error log</description>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<syntax>ISAPIAppendLogToErrors on|off</syntax>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<default>ISAPIAppendLogToErrors off</default>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<contextlist><context>server config</context><context>virtual host</context>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<context>directory</context><context>.htaccess</context></contextlist>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<override>FileInfo</override>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<usage>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from ISAPI
6aada32e978e09cc60d52cb05ae4cee91b676da1slive extensions to the server error log.</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</usage>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<name>ISAPIAppendLogToQuery</name>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<description>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4andISAPI extensions to the query field</description>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<syntax>ISAPIAppendLogToQuery on|off</syntax>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<default>ISAPIAppendLogToQuery on</default>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<contextlist><context>server config</context><context>virtual host</context>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<context>directory</context><context>.htaccess</context></contextlist>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<override>FileInfo</override>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
6aada32e978e09cc60d52cb05ae4cee91b676da1slive<usage>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from ISAPI
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and extensions to the query field (appended to the <directive
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and module="mod_log_config">CustomLog</directive> <code>%q</code>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive component).</p>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</usage>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive</directivesynopsis>
6aada32e978e09cc60d52cb05ae4cee91b676da1slive
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<directivesynopsis>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<name>ISAPIFakeAsync</name>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<description>Fake asynchronous support for ISAPI callbacks</description>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<syntax>ISAPIFakeAsync on|off</syntax>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<default>ISAPIFakeAsync off</default>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<contextlist><context>server config</context><context>virtual host</context>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and<context>directory</context><context>.htaccess</context></contextlist>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<override>FileInfo</override>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess<usage>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and <p>While set to on, asynchronous support for ISAPI callbacks is
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess simulated.</p>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess</usage>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess</directivesynopsis>
705bc21ba2aa9e0400c5e5bc7e93d476a64d65bckess
173acde414093bc645e1510e36a7e0e0bd4986f3erikabele</modulesynopsis>
cd8a69c2fb1cb3fa066fe42fb4cbba9d38a1cd4and