mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
- <em> -> <var>
- add markup - fix contextlist of ISAPIReadAheadBuffer -> update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -49,13 +49,12 @@
|
||||
|
||||
<p>Whether or not you have preloaded an ISAPI extension, all
|
||||
ISAPI extensions are governed by the same permissions and
|
||||
restrictions as CGI scripts. That is, <code>Options
|
||||
ExecCGI</code> must be set for the directory that contains the
|
||||
ISAPI .dll file.</p>
|
||||
restrictions as CGI scripts. That is, <code class="directive"><a href="../mod/core.html#options">Options</a></code> <code>ExecCGI</code> must be set for the
|
||||
directory that contains the ISAPI .dll file.</p>
|
||||
|
||||
<p>Review the <a href="#notes">Additional Notes</a> and the <a href="#journal">Programmer's Journal</a> for additional details
|
||||
and clarification of the specific ISAPI support offered by
|
||||
mod_isapi.</p>
|
||||
<code class="module"><a href="../mod/mod_isapi.html">mod_isapi</a></code>.</p>
|
||||
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="notes" id="notes">Additional Notes</a></h2>
|
||||
|
||||
<p>Apache's ISAPI implementation conforms to all of the ISAPI
|
||||
@@ -72,149 +71,148 @@
|
||||
into the server and keep it loaded until memory usage is too
|
||||
high, or unless configuration options are specified. Apache
|
||||
currently loads and unloads the ISAPI extension each time it is
|
||||
requested, unless the ISAPICacheFile directive is specified.
|
||||
requested, unless the <code class="directive"><a href="#isapicachefile">ISAPICacheFile</a></code> directive is specified.
|
||||
This is inefficient, but Apache's memory model makes this the
|
||||
most effective method. Many ISAPI modules are subtly
|
||||
incompatible with the Apache server, and unloading these
|
||||
modules helps to ensure the stability of the server.</p>
|
||||
|
||||
<p>Also, remember that while Apache supports ISAPI Extensions,
|
||||
it <strong>does not support ISAPI Filters.</strong> Support for
|
||||
it <strong>does not support ISAPI Filters</strong>. Support for
|
||||
filters may be added at a later date, but no support is planned
|
||||
at this time.</p>
|
||||
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="journal" id="journal">Programmer's Journal</a></h2>
|
||||
|
||||
<p>If you are programming Apache 2.0 <code class="module"><a href="../mod/mod_isapi.html">mod_isapi</a></code>
|
||||
modules, you must limit your calls to ServerSupportFunction to the
|
||||
following directives:</p>
|
||||
modules, you must limit your calls to <code>ServerSupportFunction</code>
|
||||
to the following directives:</p>
|
||||
|
||||
<dl>
|
||||
<dt>HSE_REQ_SEND_URL_REDIRECT_RESP</dt>
|
||||
|
||||
<dt><code>HSE_REQ_SEND_URL_REDIRECT_RESP</code></dt>
|
||||
<dd>Redirect the user to another location.<br />
|
||||
This must be a fully qualified URL (e.g.
|
||||
http://server/location).</dd>
|
||||
|
||||
<dt>HSE_REQ_SEND_URL</dt>
|
||||
This must be a fully qualified URL (<em>e.g.</em>
|
||||
<code>http://server/location</code>).</dd>
|
||||
|
||||
<dt><code>HSE_REQ_SEND_URL</code></dt>
|
||||
<dd>Redirect the user to another location.<br />
|
||||
This cannot be a fully qualified URL, you are not allowed to
|
||||
pass the protocol or a server name (e.g. simply
|
||||
/location).<br />
|
||||
This redirection is handled by the server, not the
|
||||
This cannot be a fully qualified URL, you are not allowed to
|
||||
pass the protocol or a server name (<em>e.g.</em> simply
|
||||
<code>/location</code>).<br />
|
||||
This redirection is handled by the server, not the
|
||||
browser.<br />
|
||||
<strong>Warning:</strong> in their recent documentation,
|
||||
Microsoft appears to have abandoned the distinction between
|
||||
the two HSE_REQ_SEND_URL functions. Apache continues to treat
|
||||
them as two distinct functions with different requirements
|
||||
and behaviors.</dd>
|
||||
|
||||
<dt>HSE_REQ_SEND_RESPONSE_HEADER</dt>
|
||||
<div class="warning"><h3>Warning</h3>
|
||||
<p>In their recent documentation, Microsoft appears to have
|
||||
abandoned the distinction between the two
|
||||
<code>HSE_REQ_SEND_URL</code> functions. Apache continues to treat
|
||||
them as two distinct functions with different requirements
|
||||
and behaviors.</p>
|
||||
</div></dd>
|
||||
|
||||
<dt><code>HSE_REQ_SEND_RESPONSE_HEADER</code></dt>
|
||||
<dd>Apache accepts a response body following the header if it
|
||||
follows the blank line (two consecutive newlines) in the
|
||||
headers string argument. This body cannot contain NULLs,
|
||||
since the headers argument is NULL terminated.</dd>
|
||||
|
||||
<dt>HSE_REQ_DONE_WITH_SESSION</dt>
|
||||
|
||||
<dt><code>HSE_REQ_DONE_WITH_SESSION</code></dt>
|
||||
<dd>Apache considers this a no-op, since the session will be
|
||||
finished when the ISAPI returns from processing.</dd>
|
||||
|
||||
<dt>HSE_REQ_MAP_URL_TO_PATH</dt>
|
||||
|
||||
<dt><code>HSE_REQ_MAP_URL_TO_PATH</code></dt>
|
||||
<dd>Apache will translate a virtual name to a physical
|
||||
name.</dd>
|
||||
|
||||
<dt>HSE_APPEND_LOG_PARAMETER</dt>
|
||||
|
||||
<dt><code>HSE_APPEND_LOG_PARAMETER</code></dt>
|
||||
<dd>
|
||||
This logged message may be captured in any of the following
|
||||
logs:
|
||||
|
||||
<ul>
|
||||
<li>in the \"%{isapi-parameter}n\" component in a
|
||||
CustomLog directive</li>
|
||||
|
||||
<li>in the %q log component with the
|
||||
ISAPIAppendLogToQuery On directive</li>
|
||||
|
||||
<li>in the error log with the ISAPIAppendLogToErrors On
|
||||
<li>in the <code>\"%{isapi-parameter}n\"</code> component in a
|
||||
<code class="directive"><a href="../mod/mod_log_config.html#customlog">CustomLog</a></code>
|
||||
directive</li>
|
||||
|
||||
<li>in the <code>%q</code> log component with the
|
||||
<code class="directive"><a href="#isapiappendlogtoquery">ISAPIAppendLogToQuery</a></code>
|
||||
<code>On</code> directive</li>
|
||||
|
||||
<li>in the error log with the <code class="directive"><a href="#isapiappendlogtoerrors">ISAPIAppendLogToErrors</a></code> <code>On</code> directive</li>
|
||||
</ul>
|
||||
The first option, the %{isapi-parameter}n component, is
|
||||
always available and prefered.
|
||||
|
||||
<p>The first option, the <code>%{isapi-parameter}n</code> component,
|
||||
is always available and preferred.</p>
|
||||
</dd>
|
||||
|
||||
<dt>HSE_REQ_IS_KEEP_CONN</dt>
|
||||
|
||||
<dt><code>HSE_REQ_IS_KEEP_CONN</code></dt>
|
||||
<dd>Will return the negotiated Keep-Alive status.</dd>
|
||||
|
||||
<dt>HSE_REQ_SEND_RESPONSE_HEADER_EX</dt>
|
||||
|
||||
<dd>Will behave as documented, although the fKeepConn flag is
|
||||
ignored.</dd>
|
||||
|
||||
<dt>HSE_REQ_IS_CONNECTED</dt>
|
||||
<dt><code>HSE_REQ_SEND_RESPONSE_HEADER_EX</code></dt>
|
||||
<dd>Will behave as documented, although the <code>fKeepConn</code>
|
||||
flag is ignored.</dd>
|
||||
|
||||
<dt><code>HSE_REQ_IS_CONNECTED</code></dt>
|
||||
<dd>Will report false if the request has been aborted.</dd>
|
||||
</dl>
|
||||
|
||||
<p>Apache returns FALSE to any unsupported call to
|
||||
ServerSupportFunction, and sets the GetLastError value to
|
||||
ERROR_INVALID_PARAMETER.</p>
|
||||
<p>Apache returns <code>FALSE</code> to any unsupported call to
|
||||
<code>ServerSupportFunction</code>, and sets the
|
||||
<code>GetLastError</code> value to
|
||||
<code>ERROR_INVALID_PARAMETER</code>.</p>
|
||||
|
||||
<p>ReadClient retrieves the request body exceeding the initial
|
||||
buffer (defined by ISAPIReadAheadBuffer). Based on the
|
||||
ISAPIReadAheadBuffer setting (number of bytes to buffer prior
|
||||
to calling the ISAPI handler) shorter requests are sent
|
||||
<p><code>ReadClient</code> retrieves the request body exceeding the
|
||||
initial buffer (defined by <code class="directive"><a href="#isapireadaheadbuffer">ISAPIReadAheadBuffer</a></code>). Based on the
|
||||
<code class="directive">ISAPIReadAheadBuffer</code> setting (number of bytes
|
||||
to buffer prior to calling the ISAPI handler) shorter requests are sent
|
||||
complete to the extension when it is invoked. If the request is
|
||||
longer, the ISAPI extension must use ReadClient to retrieve the
|
||||
remaining request body.</p>
|
||||
longer, the ISAPI extension must use <code>ReadClient</code> to
|
||||
retrieve the remaining request body.</p>
|
||||
|
||||
<p>WriteClient is supported, but only with the HSE_IO_SYNC flag
|
||||
or no option flag (value of 0). Any other WriteClient request
|
||||
will be rejected with a return value of FALSE, and a
|
||||
GetLastError value of ERROR_INVALID_PARAMETER.</p>
|
||||
<p><code>WriteClient</code> is supported, but only with the
|
||||
<code>HSE_IO_SYNC</code> flag or no option flag (value of
|
||||
<code>0</code>). Any other <code>WriteClient</code> request
|
||||
will be rejected with a return value of <code>FALSE</code>, and a
|
||||
<code>GetLastError</code> value of
|
||||
<code>ERROR_INVALID_PARAMETER</code>.</p>
|
||||
|
||||
<p>GetServerVariable is supported, although extended server
|
||||
<p><code>GetServerVariable</code> is supported, although extended server
|
||||
variables do not exist (as defined by other servers.) All the
|
||||
usual Apache CGI environment variables are available from
|
||||
GetServerVariable, as well as the ALL_HTTP and ALL_RAW
|
||||
values.</p>
|
||||
<code>GetServerVariable</code>, as well as the <code>ALL_HTTP</code>
|
||||
and <code>ALL_RAW</code> values.</p>
|
||||
|
||||
<p>Apache 2.0 <code class="module"><a href="../mod/mod_isapi.html">mod_isapi</a></code> supports additional
|
||||
features introduced in later versions of the ISAPI specification,
|
||||
as well as limited emulation of async I/O and the TransmitFile
|
||||
semantics. Apache also supports preloading ISAPI .dlls for
|
||||
performance, neither of which were not available under Apache 1.3
|
||||
mod_isapi.</p>
|
||||
as well as limited emulation of async I/O and the
|
||||
<code>TransmitFile</code> semantics. Apache also supports preloading
|
||||
ISAPI .dlls for performance, neither of which were not available under
|
||||
Apache 1.3 <code>mod_isapi</code>.</p>
|
||||
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ISAPIAppendLogToErrors" id="ISAPIAppendLogToErrors">ISAPIAppendLogToErrors</a> <a name="isapiappendlogtoerrors" id="isapiappendlogtoerrors">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
|
||||
</a></th><td>Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
extensions to the error log</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</a></th><td>Record HSE_APPEND_LOG_PARAMETER requests from
|
||||
ISAPI extensions to the error log</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</a></th><td><code>ISAPIAppendLogToErrors on|off</code></td></tr><tr><th><a href="directive-dict.html#Default">Default:
|
||||
</a></th><td><code>ISAPIAppendLogToErrors off</code></td></tr><tr><th><a href="directive-dict.html#Context">Context:
|
||||
</a></th><td>server config, virtual host, directory, .htaccess</td></tr><tr><th><a href="directive-dict.html#Override">Override:
|
||||
</a></th><td>FileInfo</td></tr><tr><th><a href="directive-dict.html#Status">Status:
|
||||
</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">Module:
|
||||
</a></th><td>mod_isapi</td></tr></table>
|
||||
<p>Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
<p>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from ISAPI
|
||||
extensions to the server error log.</p>
|
||||
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ISAPIAppendLogToQuery" id="ISAPIAppendLogToQuery">ISAPIAppendLogToQuery</a> <a name="isapiappendlogtoquery" id="isapiappendlogtoquery">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
|
||||
</a></th><td>Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
extensions to the query field</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</a></th><td>Record HSE_APPEND_LOG_PARAMETER requests from
|
||||
ISAPI extensions to the query field</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</a></th><td><code>ISAPIAppendLogToQuery on|off</code></td></tr><tr><th><a href="directive-dict.html#Default">Default:
|
||||
</a></th><td><code>ISAPIAppendLogToQuery on</code></td></tr><tr><th><a href="directive-dict.html#Context">Context:
|
||||
</a></th><td>server config, virtual host, directory, .htaccess</td></tr><tr><th><a href="directive-dict.html#Override">Override:
|
||||
</a></th><td>FileInfo</td></tr><tr><th><a href="directive-dict.html#Status">Status:
|
||||
</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">Module:
|
||||
</a></th><td>mod_isapi</td></tr></table>
|
||||
<p>Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
extensions to the query field (appended to the CustomLog %q
|
||||
<p>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from ISAPI
|
||||
extensions to the query field (appended to the <code class="directive"><a href="../mod/mod_log_config.html#customlog">CustomLog</a></code> <code>%q</code>
|
||||
component).</p>
|
||||
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ISAPICacheFile" id="ISAPICacheFile">ISAPICacheFile</a> <a name="isapicachefile" id="isapicachefile">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
|
||||
</a></th><td>ISAPI .dll files to be loaded at startup</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</a></th><td><code>ISAPICacheFile <em>file-path</em> [<em>file-path</em>] ...</code></td></tr><tr><th><a href="directive-dict.html#Context">Context:
|
||||
</a></th><td><code>ISAPICacheFile <var>file-path</var> [<var>file-path</var>]
|
||||
...</code></td></tr><tr><th><a href="directive-dict.html#Context">Context:
|
||||
</a></th><td>server config, virtual host</td></tr><tr><th><a href="directive-dict.html#Status">Status:
|
||||
</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">Module:
|
||||
</a></th><td>mod_isapi</td></tr></table>
|
||||
@@ -222,16 +220,17 @@ extensions to the query field</td></tr><tr><th><a href="directive-dict.html#Synt
|
||||
when the Apache server is launched, and remain loaded until the
|
||||
server is shut down. This directive may be repeated for every
|
||||
ISAPI .dll file desired. The full path name of each file should
|
||||
be specified.</p>
|
||||
be specified. If the path name is not absolute, it will be treated
|
||||
relative to <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>.</p>
|
||||
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ISAPIFakeAsync" id="ISAPIFakeAsync">ISAPIFakeAsync</a> <a name="isapifakeasync" id="isapifakeasync">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
|
||||
</a></th><td>Fake asynchronous support for isapi callbacks</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</a></th><td>Fake asynchronous support for ISAPI callbacks</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</a></th><td><code>ISAPIFakeAsync on|off</code></td></tr><tr><th><a href="directive-dict.html#Default">Default:
|
||||
</a></th><td><code>ISAPIFakeAsync off</code></td></tr><tr><th><a href="directive-dict.html#Context">Context:
|
||||
</a></th><td>server config, virtual host, directory, .htaccess</td></tr><tr><th><a href="directive-dict.html#Override">Override:
|
||||
</a></th><td>FileInfo</td></tr><tr><th><a href="directive-dict.html#Status">Status:
|
||||
</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">Module:
|
||||
</a></th><td>mod_isapi</td></tr></table>
|
||||
<p>While set to on, asynchronous support for isapi callbacks is
|
||||
<p>While set to on, asynchronous support for ISAPI callbacks is
|
||||
simulated.</p>
|
||||
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ISAPILogNotSupported" id="ISAPILogNotSupported">ISAPILogNotSupported</a> <a name="isapilognotsupported" id="isapilognotsupported">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
|
||||
</a></th><td>Log unsupported feature requests from ISAPI
|
||||
@@ -249,15 +248,15 @@ extensions</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ISAPIReadAheadBuffer" id="ISAPIReadAheadBuffer">ISAPIReadAheadBuffer</a> <a name="isapireadaheadbuffer" id="isapireadaheadbuffer">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
|
||||
</a></th><td>Size of the Read Ahead Buffer sent to ISAPI
|
||||
extensions</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
|
||||
</a></th><td><code>ISAPIReadAheadBuffer <em>size</em></code></td></tr><tr><th><a href="directive-dict.html#Default">Default:
|
||||
</a></th><td><code>ISAPIReadAheadBuffer <var>size</var></code></td></tr><tr><th><a href="directive-dict.html#Default">Default:
|
||||
</a></th><td><code>ISAPIReadAheadBuffer 49152</code></td></tr><tr><th><a href="directive-dict.html#Context">Context:
|
||||
</a></th><td>server config, directory, .htaccess</td></tr><tr><th><a href="directive-dict.html#Override">Override:
|
||||
</a></th><td>server config, virtual host, directory, .htaccess</td></tr><tr><th><a href="directive-dict.html#Override">Override:
|
||||
</a></th><td>FileInfo</td></tr><tr><th><a href="directive-dict.html#Status">Status:
|
||||
</a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">Module:
|
||||
</a></th><td>mod_isapi</td></tr></table>
|
||||
<p>Defines the maximum size of the Read Ahead Buffer sent to
|
||||
ISAPI extensions when they are initially invoked. All remaining
|
||||
data must be retrieved using the ReadClient callback; some
|
||||
ISAPI extensions may not support the ReadClient function. Refer
|
||||
questions to the ISAPI extension's author.</p>
|
||||
data must be retrieved using the <code>ReadClient</code> callback; some
|
||||
ISAPI extensions may not support the <code>ReadClient</code> function.
|
||||
Refer questions to the ISAPI extension's author.</p>
|
||||
</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div></body></html>
|
||||
@@ -46,14 +46,14 @@
|
||||
|
||||
<p>Whether or not you have preloaded an ISAPI extension, all
|
||||
ISAPI extensions are governed by the same permissions and
|
||||
restrictions as CGI scripts. That is, <code>Options
|
||||
ExecCGI</code> must be set for the directory that contains the
|
||||
ISAPI .dll file.</p>
|
||||
restrictions as CGI scripts. That is, <directive module="core"
|
||||
>Options</directive> <code>ExecCGI</code> must be set for the
|
||||
directory that contains the ISAPI .dll file.</p>
|
||||
|
||||
<p>Review the <a href="#notes">Additional Notes</a> and the <a
|
||||
href="#journal">Programmer's Journal</a> for additional details
|
||||
and clarification of the specific ISAPI support offered by
|
||||
mod_isapi.</p>
|
||||
<module>mod_isapi</module>.</p>
|
||||
</section>
|
||||
|
||||
<section id="notes"><title>Additional Notes</title>
|
||||
@@ -72,14 +72,15 @@
|
||||
into the server and keep it loaded until memory usage is too
|
||||
high, or unless configuration options are specified. Apache
|
||||
currently loads and unloads the ISAPI extension each time it is
|
||||
requested, unless the ISAPICacheFile directive is specified.
|
||||
requested, unless the <directive module="mod_isapi"
|
||||
>ISAPICacheFile</directive> directive is specified.
|
||||
This is inefficient, but Apache's memory model makes this the
|
||||
most effective method. Many ISAPI modules are subtly
|
||||
incompatible with the Apache server, and unloading these
|
||||
modules helps to ensure the stability of the server.</p>
|
||||
|
||||
<p>Also, remember that while Apache supports ISAPI Extensions,
|
||||
it <strong>does not support ISAPI Filters.</strong> Support for
|
||||
it <strong>does not support ISAPI Filters</strong>. Support for
|
||||
filters may be added at a later date, but no support is planned
|
||||
at this time.</p>
|
||||
</section>
|
||||
@@ -87,125 +88,127 @@
|
||||
<section id="journal"><title>Programmer's Journal</title>
|
||||
|
||||
<p>If you are programming Apache 2.0 <module>mod_isapi</module>
|
||||
modules, you must limit your calls to ServerSupportFunction to the
|
||||
following directives:</p>
|
||||
modules, you must limit your calls to <code>ServerSupportFunction</code>
|
||||
to the following directives:</p>
|
||||
|
||||
<dl>
|
||||
<dt>HSE_REQ_SEND_URL_REDIRECT_RESP</dt>
|
||||
|
||||
<dt><code>HSE_REQ_SEND_URL_REDIRECT_RESP</code></dt>
|
||||
<dd>Redirect the user to another location.<br />
|
||||
This must be a fully qualified URL (e.g.
|
||||
http://server/location).</dd>
|
||||
|
||||
<dt>HSE_REQ_SEND_URL</dt>
|
||||
This must be a fully qualified URL (<em>e.g.</em>
|
||||
<code>http://server/location</code>).</dd>
|
||||
|
||||
<dt><code>HSE_REQ_SEND_URL</code></dt>
|
||||
<dd>Redirect the user to another location.<br />
|
||||
This cannot be a fully qualified URL, you are not allowed to
|
||||
pass the protocol or a server name (e.g. simply
|
||||
/location).<br />
|
||||
This redirection is handled by the server, not the
|
||||
This cannot be a fully qualified URL, you are not allowed to
|
||||
pass the protocol or a server name (<em>e.g.</em> simply
|
||||
<code>/location</code>).<br />
|
||||
This redirection is handled by the server, not the
|
||||
browser.<br />
|
||||
<strong>Warning:</strong> in their recent documentation,
|
||||
Microsoft appears to have abandoned the distinction between
|
||||
the two HSE_REQ_SEND_URL functions. Apache continues to treat
|
||||
them as two distinct functions with different requirements
|
||||
and behaviors.</dd>
|
||||
|
||||
<dt>HSE_REQ_SEND_RESPONSE_HEADER</dt>
|
||||
<note type="warning"><title>Warning</title>
|
||||
<p>In their recent documentation, Microsoft appears to have
|
||||
abandoned the distinction between the two
|
||||
<code>HSE_REQ_SEND_URL</code> functions. Apache continues to treat
|
||||
them as two distinct functions with different requirements
|
||||
and behaviors.</p>
|
||||
</note></dd>
|
||||
|
||||
<dt><code>HSE_REQ_SEND_RESPONSE_HEADER</code></dt>
|
||||
<dd>Apache accepts a response body following the header if it
|
||||
follows the blank line (two consecutive newlines) in the
|
||||
headers string argument. This body cannot contain NULLs,
|
||||
since the headers argument is NULL terminated.</dd>
|
||||
|
||||
<dt>HSE_REQ_DONE_WITH_SESSION</dt>
|
||||
|
||||
<dt><code>HSE_REQ_DONE_WITH_SESSION</code></dt>
|
||||
<dd>Apache considers this a no-op, since the session will be
|
||||
finished when the ISAPI returns from processing.</dd>
|
||||
|
||||
<dt>HSE_REQ_MAP_URL_TO_PATH</dt>
|
||||
|
||||
<dt><code>HSE_REQ_MAP_URL_TO_PATH</code></dt>
|
||||
<dd>Apache will translate a virtual name to a physical
|
||||
name.</dd>
|
||||
|
||||
<dt>HSE_APPEND_LOG_PARAMETER</dt>
|
||||
|
||||
<dt><code>HSE_APPEND_LOG_PARAMETER</code></dt>
|
||||
<dd>
|
||||
This logged message may be captured in any of the following
|
||||
logs:
|
||||
|
||||
<ul>
|
||||
<li>in the \"%{isapi-parameter}n\" component in a
|
||||
CustomLog directive</li>
|
||||
|
||||
<li>in the %q log component with the
|
||||
ISAPIAppendLogToQuery On directive</li>
|
||||
|
||||
<li>in the error log with the ISAPIAppendLogToErrors On
|
||||
<li>in the <code>\"%{isapi-parameter}n\"</code> component in a
|
||||
<directive module="mod_log_config">CustomLog</directive>
|
||||
directive</li>
|
||||
|
||||
<li>in the <code>%q</code> log component with the
|
||||
<directive module="mod_isapi">ISAPIAppendLogToQuery</directive>
|
||||
<code>On</code> directive</li>
|
||||
|
||||
<li>in the error log with the <directive module="mod_isapi"
|
||||
>ISAPIAppendLogToErrors</directive> <code>On</code> directive</li>
|
||||
</ul>
|
||||
The first option, the %{isapi-parameter}n component, is
|
||||
always available and prefered.
|
||||
|
||||
<p>The first option, the <code>%{isapi-parameter}n</code> component,
|
||||
is always available and preferred.</p>
|
||||
</dd>
|
||||
|
||||
<dt>HSE_REQ_IS_KEEP_CONN</dt>
|
||||
|
||||
<dt><code>HSE_REQ_IS_KEEP_CONN</code></dt>
|
||||
<dd>Will return the negotiated Keep-Alive status.</dd>
|
||||
|
||||
<dt>HSE_REQ_SEND_RESPONSE_HEADER_EX</dt>
|
||||
|
||||
<dd>Will behave as documented, although the fKeepConn flag is
|
||||
ignored.</dd>
|
||||
|
||||
<dt>HSE_REQ_IS_CONNECTED</dt>
|
||||
<dt><code>HSE_REQ_SEND_RESPONSE_HEADER_EX</code></dt>
|
||||
<dd>Will behave as documented, although the <code>fKeepConn</code>
|
||||
flag is ignored.</dd>
|
||||
|
||||
<dt><code>HSE_REQ_IS_CONNECTED</code></dt>
|
||||
<dd>Will report false if the request has been aborted.</dd>
|
||||
</dl>
|
||||
|
||||
<p>Apache returns FALSE to any unsupported call to
|
||||
ServerSupportFunction, and sets the GetLastError value to
|
||||
ERROR_INVALID_PARAMETER.</p>
|
||||
<p>Apache returns <code>FALSE</code> to any unsupported call to
|
||||
<code>ServerSupportFunction</code>, and sets the
|
||||
<code>GetLastError</code> value to
|
||||
<code>ERROR_INVALID_PARAMETER</code>.</p>
|
||||
|
||||
<p>ReadClient retrieves the request body exceeding the initial
|
||||
buffer (defined by ISAPIReadAheadBuffer). Based on the
|
||||
ISAPIReadAheadBuffer setting (number of bytes to buffer prior
|
||||
to calling the ISAPI handler) shorter requests are sent
|
||||
<p><code>ReadClient</code> retrieves the request body exceeding the
|
||||
initial buffer (defined by <directive module="mod_isapi"
|
||||
>ISAPIReadAheadBuffer</directive>). Based on the
|
||||
<directive>ISAPIReadAheadBuffer</directive> setting (number of bytes
|
||||
to buffer prior to calling the ISAPI handler) shorter requests are sent
|
||||
complete to the extension when it is invoked. If the request is
|
||||
longer, the ISAPI extension must use ReadClient to retrieve the
|
||||
remaining request body.</p>
|
||||
longer, the ISAPI extension must use <code>ReadClient</code> to
|
||||
retrieve the remaining request body.</p>
|
||||
|
||||
<p>WriteClient is supported, but only with the HSE_IO_SYNC flag
|
||||
or no option flag (value of 0). Any other WriteClient request
|
||||
will be rejected with a return value of FALSE, and a
|
||||
GetLastError value of ERROR_INVALID_PARAMETER.</p>
|
||||
<p><code>WriteClient</code> is supported, but only with the
|
||||
<code>HSE_IO_SYNC</code> flag or no option flag (value of
|
||||
<code>0</code>). Any other <code>WriteClient</code> request
|
||||
will be rejected with a return value of <code>FALSE</code>, and a
|
||||
<code>GetLastError</code> value of
|
||||
<code>ERROR_INVALID_PARAMETER</code>.</p>
|
||||
|
||||
<p>GetServerVariable is supported, although extended server
|
||||
<p><code>GetServerVariable</code> is supported, although extended server
|
||||
variables do not exist (as defined by other servers.) All the
|
||||
usual Apache CGI environment variables are available from
|
||||
GetServerVariable, as well as the ALL_HTTP and ALL_RAW
|
||||
values.</p>
|
||||
<code>GetServerVariable</code>, as well as the <code>ALL_HTTP</code>
|
||||
and <code>ALL_RAW</code> values.</p>
|
||||
|
||||
<p>Apache 2.0 <module>mod_isapi</module> supports additional
|
||||
features introduced in later versions of the ISAPI specification,
|
||||
as well as limited emulation of async I/O and the TransmitFile
|
||||
semantics. Apache also supports preloading ISAPI .dlls for
|
||||
performance, neither of which were not available under Apache 1.3
|
||||
mod_isapi.</p>
|
||||
as well as limited emulation of async I/O and the
|
||||
<code>TransmitFile</code> semantics. Apache also supports preloading
|
||||
ISAPI .dlls for performance, neither of which were not available under
|
||||
Apache 1.3 <code>mod_isapi</code>.</p>
|
||||
</section>
|
||||
|
||||
<directivesynopsis>
|
||||
<name>ISAPICacheFile</name>
|
||||
<description>ISAPI .dll files to be loaded at startup</description>
|
||||
<syntax>ISAPICacheFile <em>file-path</em> [<em>file-path</em>] ...</syntax>
|
||||
<contextlist><context>server config</context>
|
||||
<context>virtual host</context></contextlist>
|
||||
<syntax>ISAPICacheFile <var>file-path</var> [<var>file-path</var>]
|
||||
...</syntax>
|
||||
<contextlist><context>server config</context><context>virtual host</context>
|
||||
</contextlist>
|
||||
|
||||
<usage>
|
||||
<p>Specifies a space-separated list of file names to be loaded
|
||||
when the Apache server is launched, and remain loaded until the
|
||||
server is shut down. This directive may be repeated for every
|
||||
ISAPI .dll file desired. The full path name of each file should
|
||||
be specified.</p>
|
||||
be specified. If the path name is not absolute, it will be treated
|
||||
relative to <directive module="core">ServerRoot</directive>.</p>
|
||||
</usage>
|
||||
</directivesynopsis>
|
||||
|
||||
@@ -213,19 +216,18 @@
|
||||
<name>ISAPIReadAheadBuffer</name>
|
||||
<description>Size of the Read Ahead Buffer sent to ISAPI
|
||||
extensions</description>
|
||||
<syntax>ISAPIReadAheadBuffer <em>size</em></syntax>
|
||||
<syntax>ISAPIReadAheadBuffer <var>size</var></syntax>
|
||||
<default>ISAPIReadAheadBuffer 49152</default>
|
||||
<contextlist><context>server config</context>
|
||||
<context>directory</context>
|
||||
<context>.htaccess</context></contextlist>
|
||||
<contextlist><context>server config</context><context>virtual host</context>
|
||||
<context>directory</context><context>.htaccess</context></contextlist>
|
||||
<override>FileInfo</override>
|
||||
|
||||
<usage>
|
||||
<p>Defines the maximum size of the Read Ahead Buffer sent to
|
||||
ISAPI extensions when they are initially invoked. All remaining
|
||||
data must be retrieved using the ReadClient callback; some
|
||||
ISAPI extensions may not support the ReadClient function. Refer
|
||||
questions to the ISAPI extension's author.</p>
|
||||
data must be retrieved using the <code>ReadClient</code> callback; some
|
||||
ISAPI extensions may not support the <code>ReadClient</code> function.
|
||||
Refer questions to the ISAPI extension's author.</p>
|
||||
</usage>
|
||||
</directivesynopsis>
|
||||
|
||||
@@ -235,10 +237,8 @@ extensions</description>
|
||||
extensions</description>
|
||||
<syntax>ISAPILogNotSupported on|off</syntax>
|
||||
<default>ISAPILogNotSupported off</default>
|
||||
<contextlist><context>server config</context>
|
||||
<context>virtual host</context>
|
||||
<context>directory</context>
|
||||
<context>.htaccess</context></contextlist>
|
||||
<contextlist><context>server config</context><context>virtual host</context>
|
||||
<context>directory</context><context>.htaccess</context></contextlist>
|
||||
<override>FileInfo</override>
|
||||
|
||||
<usage>
|
||||
@@ -251,56 +251,52 @@ extensions</description>
|
||||
|
||||
<directivesynopsis>
|
||||
<name>ISAPIAppendLogToErrors</name>
|
||||
<description>Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
extensions to the error log</description>
|
||||
<description>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from
|
||||
ISAPI extensions to the error log</description>
|
||||
<syntax>ISAPIAppendLogToErrors on|off</syntax>
|
||||
<default>ISAPIAppendLogToErrors off</default>
|
||||
<contextlist><context>server config</context>
|
||||
<context>virtual host</context>
|
||||
<context>directory</context>
|
||||
<context>.htaccess</context></contextlist>
|
||||
<contextlist><context>server config</context><context>virtual host</context>
|
||||
<context>directory</context><context>.htaccess</context></contextlist>
|
||||
<override>FileInfo</override>
|
||||
|
||||
<usage>
|
||||
<p>Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
<p>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from ISAPI
|
||||
extensions to the server error log.</p>
|
||||
</usage>
|
||||
</directivesynopsis>
|
||||
|
||||
<directivesynopsis>
|
||||
<name>ISAPIAppendLogToQuery</name>
|
||||
<description>Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
extensions to the query field</description>
|
||||
<description>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from
|
||||
ISAPI extensions to the query field</description>
|
||||
<syntax>ISAPIAppendLogToQuery on|off</syntax>
|
||||
<default>ISAPIAppendLogToQuery on</default>
|
||||
<contextlist><context>server config</context>
|
||||
<context>virtual host</context>
|
||||
<context>directory</context>
|
||||
<context>.htaccess</context></contextlist>
|
||||
<contextlist><context>server config</context><context>virtual host</context>
|
||||
<context>directory</context><context>.htaccess</context></contextlist>
|
||||
<override>FileInfo</override>
|
||||
|
||||
<usage>
|
||||
<p>Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
extensions to the query field (appended to the CustomLog %q
|
||||
<p>Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from ISAPI
|
||||
extensions to the query field (appended to the <directive
|
||||
module="mod_log_config">CustomLog</directive> <code>%q</code>
|
||||
component).</p>
|
||||
</usage>
|
||||
</directivesynopsis>
|
||||
|
||||
<directivesynopsis>
|
||||
<name>ISAPIFakeAsync</name>
|
||||
<description>Fake asynchronous support for isapi callbacks</description>
|
||||
<description>Fake asynchronous support for ISAPI callbacks</description>
|
||||
<syntax>ISAPIFakeAsync on|off</syntax>
|
||||
<default>ISAPIFakeAsync off</default>
|
||||
<contextlist><context>server config</context>
|
||||
<context>virtual host</context>
|
||||
<context>directory</context>
|
||||
<context>.htaccess</context></contextlist>
|
||||
<contextlist><context>server config</context><context>virtual host</context>
|
||||
<context>directory</context><context>.htaccess</context></contextlist>
|
||||
<override>FileInfo</override>
|
||||
|
||||
<usage>
|
||||
<p>While set to on, asynchronous support for isapi callbacks is
|
||||
<p>While set to on, asynchronous support for ISAPI callbacks is
|
||||
simulated.</p>
|
||||
</usage>
|
||||
</directivesynopsis>
|
||||
|
||||
</modulesynopsis>
|
||||
|
||||
|
||||
@@ -317,15 +317,16 @@ a directory</td></tr>
|
||||
indexing</td></tr>
|
||||
<tr class="odd"><td><a href="mod_autoindex.html#indexorderdefault">IndexOrderDefault Ascending|Descending
|
||||
Name|Date|Size|Description</a></td><td> Ascending Name </td><td>svdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Sets the default ordering of the directory index</td></tr>
|
||||
<tr><td><a href="mod_isapi.html#isapiappendlogtoerrors">ISAPIAppendLogToErrors on|off</a></td><td> off </td><td>svdh</td><td>B</td></tr><tr><td class="descr" colspan="4">Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
extensions to the error log</td></tr>
|
||||
<tr class="odd"><td><a href="mod_isapi.html#isapiappendlogtoquery">ISAPIAppendLogToQuery on|off</a></td><td> on </td><td>svdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Record HSE_APPEND_LOG_PARAMETER requests from ISAPI
|
||||
extensions to the query field</td></tr>
|
||||
<tr><td><a href="mod_isapi.html#isapicachefile">ISAPICacheFile <em>file-path</em> [<em>file-path</em>] ...</a></td><td /><td>sv</td><td>B</td></tr><tr><td class="descr" colspan="4">ISAPI .dll files to be loaded at startup</td></tr>
|
||||
<tr class="odd"><td><a href="mod_isapi.html#isapifakeasync">ISAPIFakeAsync on|off</a></td><td> off </td><td>svdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Fake asynchronous support for isapi callbacks</td></tr>
|
||||
<tr><td><a href="mod_isapi.html#isapiappendlogtoerrors">ISAPIAppendLogToErrors on|off</a></td><td> off </td><td>svdh</td><td>B</td></tr><tr><td class="descr" colspan="4">Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from
|
||||
ISAPI extensions to the error log</td></tr>
|
||||
<tr class="odd"><td><a href="mod_isapi.html#isapiappendlogtoquery">ISAPIAppendLogToQuery on|off</a></td><td> on </td><td>svdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Record <code>HSE_APPEND_LOG_PARAMETER</code> requests from
|
||||
ISAPI extensions to the query field</td></tr>
|
||||
<tr><td><a href="mod_isapi.html#isapicachefile">ISAPICacheFile <var>file-path</var> [<var>file-path</var>]
|
||||
...</a></td><td /><td>sv</td><td>B</td></tr><tr><td class="descr" colspan="4">ISAPI .dll files to be loaded at startup</td></tr>
|
||||
<tr class="odd"><td><a href="mod_isapi.html#isapifakeasync">ISAPIFakeAsync on|off</a></td><td> off </td><td>svdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Fake asynchronous support for ISAPI callbacks</td></tr>
|
||||
<tr><td><a href="mod_isapi.html#isapilognotsupported">ISAPILogNotSupported on|off</a></td><td> off </td><td>svdh</td><td>B</td></tr><tr><td class="descr" colspan="4">Log unsupported feature requests from ISAPI
|
||||
extensions</td></tr>
|
||||
<tr class="odd"><td><a href="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer <em>size</em></a></td><td> 49152 </td><td>sdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Size of the Read Ahead Buffer sent to ISAPI
|
||||
<tr class="odd"><td><a href="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer <var>size</var></a></td><td> 49152 </td><td>svdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Size of the Read Ahead Buffer sent to ISAPI
|
||||
extensions</td></tr>
|
||||
<tr><td><a href="core.html#keepalive" id="K" name="K">KeepAlive on|off</a></td><td> On </td><td>sv</td><td>C</td></tr><tr><td class="descr" colspan="4">Enables HTTP persistent connections</td></tr>
|
||||
<tr class="odd"><td><a href="core.html#keepalivetimeout">KeepAliveTimeout <var>seconds</var></a></td><td> 15 </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Amount of time the server will wait for subsequent
|
||||
|
||||
Reference in New Issue
Block a user