Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://www.arcetri.astro.it/manual/ko/mod/mod_isapi.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013
Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 05:59:18 2014
Êîäèðîâêà: ISO8859-5

Ïîèñêîâûå ñëîâà: ï ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï
mod_isapi - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.2 > È?Åò

ÎÖÖÔÔÅ È?Åò mod_isapi

ÀÅÄÙ×á Î?Îþ:  en  |  ko 

ÐÜ É?Ì-ÄÒ ÓæÍÕÖ× É?Ï?ÐÜ ÎÖÄåÄßÄé. ÓæÁéÏÅ Ê?ÀöÅØ ÃËÏûÐÊ ÏÅÎþ É?Ì-È? Ò?Àý×ßÌÌÏô.
ÌÃÈý:WindowsÏû ÎÖÖÔÔÅÏÅÌ- ISAPI Extension Ë÷Ïû
Ë?ÕÒ:Base
È?ÅòÈý:isapi_module
ÌâÍÊÖÔÐß:mod_isapi.c
Ñ?Ï?:Win32 only

ÏôÎð

ÐÜ È?ÅòÐÊ Internet Server extension APIÈ? ÁÈ×?×áÄé. ÁçÇÅÌ- Ñ?ÎðÐÊ ÐæÑ?ÈÈ WindowsÏû ÎÖÖÔÔÅÏÅÌ- Internet Server extensionÐË (Ñÿ, ISAPI .dll È?Åò) Ë÷Ïû×â Ì? ÐæÄé.

ISAPI extension È?Åò(.dll ÖÔÐß)ÐÊ Ñ?ËÿÐêÀÅ ÐëÌÊ×áÄé. Apache GroupÐÜ ÐÜÅù È?ÅòÐË ÈÈÅùÑ? ÎÚÎâÐÈÈ÷, Ñ?Ï?ÅÅ ×ßÑ? ÎÚÄÒÄé. ISAPI extension Ë÷ÏûÏÅ À?×á É?Ñ?ÄÒ ISAPI Ñ?ÐëÐêÏÅÀä Ñ?Ñ? Ï?Æ?×ßÁö ÉéÆ?Äé. Ñ?Éï ÐÜÇÁ É?Ñ?È? ÎÖÖÔÔÅ ÈîÐßÈÅÈ?ÍÊÖ?Ã? É?ÁçÊÈÀý ÖôÐÜÑ?ÏÅ ÏÓÈ?Ñ? ÈÆÆ?.

Ñ?ÍÓÎþÅù

ÑæÑ?

top

Ë÷ÏûÉ

Ì-É?ÌÃÑ?ÖÔÐßÏÅÌ- AddHandler Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÏ? ISAPI ÖÔÐß Ø?ÐõÐêÏÝ isapi-handler ×êÅùÇ?È? Ï?Àñ×áÄé. .dll ÖÔÐßÐË ISAPI extensionÐÈÇÞ ÓÃÈ?×ßÇÑÈù httpd.conf ÖÔÐßÏÅ ÄéÐÍÀ? ÀÀÐÜ ÓïÀÅ×áÄé.

AddHandler isapi-handler .dll

ÎÖÖÔÔÅ Ì-É?ÄÒ ÏôÓË×á È?ÅòÐË ÈîÈ?È?ÏÅ ÀøÌã Åá Ì? Î?Äé. ÁçÇ?Ã? httpd.confÏÅÌ- ÄéÐÍÀ? ÀÀÐÊ ÌÃÑ?ÐÈÇÞ Ö?Ñ? È?ÅòÐË ÉÜÈ? ÐàÎþÅùÐß Ì?ÄÒ ÐæÄé.

ISAPICacheFile c:/WebWork/Scripts/ISAPI/mytest.dll

ISAPI extensionÐË ÉÜÈ? ÐàÎþÅùÐÜÄ?Ñ? ÉÜÈ? ÐàÎþÅùÐÜÑ? ÎÚÄ?Ñ? À?ÀøÎ?ÐÜ ISAPI extensionÐÊ CGI ÍÊÕ?ÈÃÖ?ÏÝ ÅÏÐß×á Á××áÀ? Ñ?ÎðÐË Å?È?Äé. Ñÿ, ISAPI .dll ÖÔÐßÐÜ ÐæÄÒ Å?ÇÊÕôÈ?ÏÅ Options ExecCGIÀÅ ×ÚÏô×ßÄé.

mod_isapiÐ× ISAPI Ñ?Ï?ÏÅ Äû×á ÐêÌÌ×á ÃËÏûÀ? ÌÃÈýÐÊ ÓïÀÅ ÌÃÈýÀ? ÀÃÉïÐê Ñ?ÊÈÈ? Ò?Àý×ßÆ?.

top

ÓïÀÅ ÌÃÈý

ÎÖÖÔÔÅ ISAPI ÁÈ×?ÐÊ ÊåÅÏÁò ÐäÓòÇÒÏÅ Äû×á "ÈÆÐÜÕ?ÇÞÌâ×ÑÖ? Ö?Ð?Ð×" Ø?ÐõÁòÄÙÐË Ñ?Ïì×á ISAPI 2.0 ÁäÎðÐË È?ÅÞ ÈÈÑÇ×áÄé. ÎÖÖÔÔÅÐ× ÐäÓòÇÒ ÁÈÑÆÇÞÄÒ ISAPIÀÅ Ë÷Ïû×â Ì? ÐæÄÒ ÉöÍÔÐÈÇÞ ÊåÅÏÁò ÐäÓòÇÒÐË ×â Ì? Î?Äé. ISAÀÅ ÊåÅÏÁò ÐäÓòÇÒÀ? ÀÀÐÜ Ñ?Ï?×ßÑ? ÎÚÄÒ ÁòÄÙÐË Ë÷Ïû×ßÇÑ ×áÄéÈù, Å?É?ÁûÏÅ ÅÅÏ?ÐË ÑæÁòÐ?×è ÏÐÇ? ÇÞÁçÏÅ ÁòÇßÐË ÃÂÁôÄé. ÇÞÁçÀÅ ÈÕÏü ÔÏÑ? Ì? ÐæÁòÆ?É?ÏÅ ISAPILogNotSupported Off Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÈù ÇÞÁçÏÅ ÁòÇß×ßÑ? ÎÚÄÒÄé.

Microsoft IISÏÝ ÀÀÐÊ Ì-É?ÄÒ ISAPI extensionÐË ÈîÈ?È?ÇÞ ÐàÎþÅùÏ?Ì- ÈîÈ?È? Ë÷ÏûÇ?ÐÜ ÈÕÏü ÈÉÑ? ÎÚÀÕÃ? Ö?ÊÀØ? ÌÃÑ?×ßÑ? ÎÚÄÒ×á ÁçÄûÇÞ ÈîÈ?È?ÏÅ ÅàÄé. ÎÖÖÔÔÅÄÒ ×?Ð÷ ISAPICacheFile Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÑ? ÎÚÄÒÄéÈù ÏôÓËÐË ÉîÐËÆ?ÈÆÄé ISAPI extensionÐË ÈîÈ?È?ÏÅ ÐàÎþÅùÐÜÀý É?ÈÀÄé. ÊåØÏÐÂÐ?ÐÜÑ?ÈÈ, ÎÖÖÔÔÅÐ× ÈîÈ?È? ÁÈÑÆË? ÐÜÀÝÐÜ ÀÅÐõ ØÏÐÂÐ?ÐÞ ÉöÉÐÜÄé. Ï?Ç? ISAPI È?ÅòÐÜ ÎÖÖÔÔÅ Ì-É?ÏÝ ÎðÀ? Ø?Ø?ÐÜ ÎØÈÒÁòÆ?É?ÏÅ Ì-É?Ð× ÎØÑ?ÌÊÐË Ð?×è È?ÅòÐË ÈîÈ?È?ÏÅÌ- É?ÈÀÄé.

Æ×, ÎÖÖÔÔÅÄÒ ISAPI ExtensionÐË Ñ?Ï?×ßÑ?ÈÈ, ISAPI FilterÈ? Ñ?Ï?×ßÑ? ÎÚÐÍÐË ÁòÎÿ×ßÆ?. Ã?ÑïÏÅ ×ÚÕÝÈ? Ñ?Ï?×â Ì? ÐæÑ?ÈÈ, ×?Ð÷ÄÒ ÀøØÉÐÜ Î?Äé.

top

ÀÃÉïÐê Ñ?ÊÈ

ÎÖÖÔÔÅ 2.0 mod_isapi È?ÅòÐË ×ÑÇÞÁçÇÅÉæ×áÄéÈù, ServerSupportFunction Ø?ÓòÐË ÄéÐÍ Ñ?ÍÓÎþÇÞ Ñ?×á×èÎï ×áÄé.

HSE_REQ_SEND_URL_REDIRECT_RESP
Ë÷ÏûÐêÈ? ÄéÈ? Ð?ÔÅÇÞ È?ÄéÐÜÇÊÌ××áÄé.
ÏßÐ?×á URLÐË Ë÷Ïû×èÎï ×áÄé (ÏÉÈ? ÅùÎþ, http://server/location).
HSE_REQ_SEND_URL
Ë÷ÏûÐêÈ? ÄéÈ? Ð?ÔÅÇÞ È?ÄéÐÜÇÊÌ××áÄé.
ÏßÐ?×á URLÐÜ ÎÖÄßÈ÷, ×ÑÇÞÕôÔíÀ? Ì-É?ÈýÐË ÃáÁö Ì? Î?Äé (ÏÉÈ? ÅùÎþ, /locationÀÀÐÊ ÀÝÈÈ ÀÅÄÙ).
ÊúÆ?ÏüÐ?ÀÅ ÎÖÄßÆ? Ì-É?ÀÅ È?ÄéÐÜÇÊÌ×ÐË ÓÃÈ?×áÄé.

ÀöÀý

ÓæÁé É?Ì-È? ÊÈÈù MicrosoftÀÅ ÅÞ HSE_REQ_SEND_URL ÁòÄÙÀ?Ð× Ò?ÐÜÈ? Î?Îè ÀÝÓÃÇà ÊÈÐÞÄé. ÎÖÖÔÔÅÄÒ ÀøÌã ÐÜ ÅáÐ× ÎÖÁäÈåÖ? ÑÆÀ×À? ×ðÅÏÐË ÄéÈ?Àä ÓÃÈ?×â ÀÝÐÜÄé.

HSE_REQ_SEND_RESPONSE_HEADER
headers É?ÐêÏ- ÎÖÁäÈåÖ?ÏÅ Ê?ÑéÐÜ (ÑéÉéÂîÉ?ÐêÀÅ ÅÞÉ? Ï?Ìã) ÐæÄéÈù ÎÖÖÔÔÅÄÒ ×üÄ? ÄéÐÍ ÃËÏûÐË ÐÐÄô ÃËÏûÐÈÇÞ Ë÷Ïû×áÄé. headers ÎÖÁäÈåÖ?ÀÅ NULLÇÞ ÃÅÃ?ÁòÆ?É?ÏÅ, ÐÐÄô ÃËÏûÏÅ NULLÐË Ë÷Ïû×â Ì? Î?Äé.
HSE_REQ_DONE_WITH_SESSION
ISAPIÀÅ ÓÃÈ?È? ÈÆÔÅÈù ÌÌÌ×ÐÜ ÃÅÃ?ÁòÆ?É?ÏÅ ÎÖÖÔÔÅÄÒ ÎÖÉ? ÐßÅÅ ×ßÑ? ÎÚÄÒÄé.
HSE_REQ_MAP_URL_TO_PATH
ÎÖÖÔÔÅÄÒ ÀÅË? ÐÜÈ?ÐË ÉÀÈ?Ð?(Í×Ñ?) ÐÜÈ?ÐÈÇÞ Ê?Ø?×áÄé.
HSE_APPEND_LOG_PARAMETER
É?ÁÈÈ? ÎÖÇÅ ÇÞÁçÑï ×áÀ?ÏÅ ÃÂÁôÄé.

ÓÉÉ?ÒÀÇÞ Ã?ÏÒ %{isapi-parameter}n ×çÈåÐÊ Î?Ñ?Ã? Ë÷Ïû×â Ì? ÐæÐÈÈ÷ Á×Ðõ×áÄé.

HSE_REQ_IS_KEEP_CONN
×?Ë?ÅØ Keep-Alive Ë?ÕÒÈ? ÉíØ?×áÄé.
HSE_REQ_SEND_RESPONSE_HEADER_EX
fKeepConn ÏÙÌ×ÐË É?ÍÓ×ßÄÒ ÀÝÐË Ñ?Ïì×ßÀýÄÒ É?Ì-ÏÅ Ã?ÏÒÅ?ÇÞ ÅÏÐë×áÄé.
HSE_REQ_IS_CONNECTED
ÏôÓËÐÜ ÑïÀ?ÏÅ Â?ÎþÑÃÄéÈù falseÈ? ÉíØ?×áÄé.

Ñ?Ï?×ßÑ? ÎÚÄÒ ServerSupportFunction Ø?ÓòÐË ×ßÈù ÎÖÖÔÔÅÄÒ FALSEÈ? ÉíØ?×ßÀý GetLastError À?ÐË ERROR_INVALID_PARAMETERÇÞ ÌÃÑ?×áÄé.

ReadClientÄÒ (ISAPIReadAheadBufferÇÞ Ñ?Ð××á) ÓÚÁòÉ?ÖëÕ?ÁòÈ? ÃáÎþÌÁ ÏôÓË ÃËÏûÐË ÀÅÑ?ÏÒÄé. ISAPIReadAheadBuffer ÌÃÑ? (ISAPI ×êÅùÇ?È? ÊÞÈ?ÁòÐ? É?ÖëÐ× ÉéÐÜÖ?Ì?) ÊÈÄé Ò?ÐÊ ÏôÓËÐÊ extensionÐË ÊÞÈ?Æ? Ð?ÊÞ Ð?ÄîÅØÄé. ÏôÓËÐÜ ÁöÈù, ISAPI extensionÐÊ ReadClientÇÞ Ã?ÈãÑ? ÏôÓË ÃËÏûÐË ÀÅÑ?ÏÝÎï ×áÄé.

WriteClientÈ? Ñ?Ï?×ßÑ?ÈÈ, HSE_IO_SYNC ÏÙÌ×ÈÈ Ë÷Ïû×ßÀÕÃ? (0 À?) ÎÖÉ? ÏÙÌ×ÅÅ Ë÷Ïû×ßÑ? ÎÚÎÖÎï ×áÄé. ÄéÈ? WriteClient ÏôÓËÐÊ FALSEÈ? ÉíØ?×ßÈ÷ Í×Öà×ßÀý, GetLastError À?ÐÊ ERROR_INVALID_PARAMETERÀÅ ÅØÄé.

GetServerVariableÐÊ Ñ?Ï?×ßÑ?ÈÈ, (ÄéÈ? Ì-É?ÏÅÌ- Ñ?Ð××ßÄÒ) Ø?Ðõ Ì-É?Ê?Ì?ÄÒ Î?Äé. GetServerVariableÏÅÌ- È?Å÷ ÐßÉíÐ?ÐÞ ÎÖÖÔÔÅ CGI Ø?ÀöÊ?Ì?ÏÝ ALL_HTTP, ALL_RAW À?ÐË Ë÷Ïû×â Ì? ÐæÄé.

ÎÖÖÔÔÅ 2.0 mod_isapiÄÒ ÐÜØÔ ISAPI ÁäÎðÏÅ Ã?ÏÒ ÓïÀÅ ÁòÄÙÐË Ñ?Ï?×ßÀý, ÊåÅÏÁò ÐäÓòÇÒÀ? TransmitFile ÁòÄÙÐË ÑÆÁí ØôÃËÃÍÄé. Æ×, ISAPI .dllÐË ÉÜÈ? ÐàÎþÅùÏ?Ì- ÌÊÄÙÐË Ã?ÐÜÄÒ ÎÖÖÔÔÅ 1.3 mod_isapiÏÅÄÒ Î?ÄÒ ÁòÄÙÐË Ñ?Ï?×áÄé.

top

ISAPIAppendLogToErrors Ñ?ÍÓÎþ

ÌÃÈý:ISAPI exntensionÐ× HSE_APPEND_LOG_PARAMETER ÏôÓËÐË ÏÐÇ? ÇÞÁçÏÅ ÁòÇß×áÄé
É?É:ISAPIAppendLogToErrors on|off
ÁòÊËÀ?:ISAPIAppendLogToErrors off
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?, directory, .htaccess
Override ÏÙÌ×:FileInfo
Ë?ÕÒ:Base
È?Åò:mod_isapi

ISAPI exntensionÐ× HSE_APPEND_LOG_PARAMETER ÏôÓËÐË ÏÐÇ? ÇÞÁçÏÅ ÁòÇß×áÄé.

top

ISAPIAppendLogToQuery Ñ?ÍÓÎþ

ÌÃÈý:ISAPI exntensionÐ× HSE_APPEND_LOG_PARAMETER ÏôÓËÐË Ñ?Ð×É?ÐêÏ-ÏÅ ÁòÇß×áÄé
É?É:ISAPIAppendLogToQuery on|off
ÁòÊËÀ?:ISAPIAppendLogToQuery on
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?, directory, .htaccess
Override ÏÙÌ×:FileInfo
Ë?ÕÒ:Base
È?Åò:mod_isapi

ISAPI exntensionÐ× HSE_APPEND_LOG_PARAMETER ÏôÓËÐË Ñ?Ð×É?ÐêÏ-ÏÅ ÁòÇß×áÄé (CustomLog %q ×çÈåÏÅ ÅÅÊéÐÞÄé).

top

ISAPICacheFile Ñ?ÍÓÎþ

ÌÃÈý:Ì-É?ÀÅ ÍÓÐë×âÆ? ÈîÈ?È?ÇÞ ÐàÎþÅùÐß ISAPI .dll ÖÔÐßÅù
É?É:ISAPICacheFile file-path [file-path] ...
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?
Ë?ÕÒ:Base
È?Åò:mod_isapi

ÎÖÖÔÔÅ Ì-É?ÀÅ ÍÓÐë×âÆ? ÈîÈ?È?ÇÞ ÐàÎþÅùÏ?Ì- Ì-É?È? ÑÎÇñ×âÆ?ÁþÑ? ÈîÈ?È?ÏÅ ÃÂÎÖÐæÐË ÖÔÐßÈýÐË À?ÉùÐÈÇÞ ÁÈÊà×ßÏ? Ñ?Ñ?×áÄé. ÐÜ Ñ?ÍÓÎþÄÒ ISAPI .dll ÖÔÐßÊÀÇÞ Ï?Ç?É? Ë÷Ïû×â Ì? ÐæÄé. ÖÔÐßÐ× Ð?ÓÌ ÀöÇÞÈ? Ð?ÄÒÄé. ÐÄû ÀöÇÞÀÅ ÎÖÄßÈù ServerRootÏÅ Ë?Äû ÀöÇÞÇÞ ÉîÎÖÅùÐÞÄé.

top

ISAPIFakeAsync Ñ?ÍÓÎþ

ÌÃÈý:ÊåÅÏÁò ISAPI ÔíÉùÐË Ñ?Ï?×ßÄÒ ÓÄ×áÄé
É?É:ISAPIFakeAsync on|off
ÁòÊËÀ?:ISAPIFakeAsync off
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?, directory, .htaccess
Override ÏÙÌ×:FileInfo
Ë?ÕÒ:Base
È?Åò:mod_isapi

onÐÈÇÞ ÌÃÑ?×ßÈù ÊåÅÏÁò ISAPI ÔíÉù Ñ?Ï?ÐË ØôÃËÃÍÄé.

top

ISAPILogNotSupported Ñ?ÍÓÎþ

ÌÃÈý:ISAPI extensionÐÜ Ñ?Ï?×ßÑ? ÎÚÄÒ ÁòÄÙÐË ÏôÓË×ßÈù ÇÞÁçÏÅ ÁòÇß×áÄé
É?É:ISAPILogNotSupported on|off
ÁòÊËÀ?:ISAPILogNotSupported off
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?, directory, .htaccess
Override ÏÙÌ×:FileInfo
Ë?ÕÒ:Base
È?Åò:mod_isapi

ISAPI extensionÐÜ Ñ?Ï?×ßÑ? ÎÚÄÒ ÁòÄÙÐË ÏôÓË×ßÈù Ì-É? ÏÐÇ? ÇÞÁçÏÅ ÁòÇß×áÄé. Ã?ÑïÏÅ À?È?ÐêÀÅ É?Ñ?È? ÓïÐ?×ßÄÒÅ? ÅÅÏ?ÐÜ ÅØÄé. Ï?×ßÄÒ È?Å÷ ISAPI È?ÅòÐÜ Ñ?Ë?Ð?ÐÈÇÞ ÅÏÐë×ßÈù ÄéÍÓ offÇÞ Å×ÅÉÇÑÎï ×áÄé.

top

ISAPIReadAheadBuffer Ñ?ÍÓÎþ

ÌÃÈý:ISAPI extensionÐ× ÉÜÈ?ÐàÁòÉ?Öë(read ahead buffer) Õ?Áò
É?É:ISAPIReadAheadBuffer size
ÁòÊËÀ?:ISAPIReadAheadBuffer 49152
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?, directory, .htaccess
Override ÏÙÌ×:FileInfo
Ë?ÕÒ:Base
È?Åò:mod_isapi

ISAPI extensionÐË ÓÃÐÍ Ø?Óò×âÆ? ÉÜÈ?ÐàÁòÉ?ÖëÐ× ÓæÄû Õ?ÁòÈ? Ñ?Ñ?×áÄé. (ÐÜ Õ?ÁòÊÈÄé Õ?) Ã?ÈãÑ? ÐêÇñÄÒ ReadClient ÔíÉùÐË Ë÷Ïû×ßÏ? ÐàÎþÎï ×áÄé. ÎþÆ ISAPI extensionÐÊ ReadClient ÁòÄÙÐË Ñ?Ï?×ßÑ? ÎÚÄÒÄé. ÐÜ ÀöÏü ISAPI extension Ñ?ÐëÐêÏÅÀä É?Ð××ßÆ?.

ÀÅÄÙ×á Î?Îþ:  en  |  ko 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.