home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 May
/
Gamestar_62_2004-05_dvd.iso
/
Programy
/
apache_2.0.48-win32-x86-no_ssl.msi
/
Data.Cab
/
F252218_handler.xml.ko
< prev
next >
Wrap
Extensible Markup Language
|
2003-05-10
|
5KB
|
141 lines
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
<!-- English revision: 1.3.2.2 -->
<manualpage metafile="handler.xml.meta">
<title>╛╞╞──í┐í╝¡ ╟┌╡Θ╖» ╗τ┐δ</title>
<summary>
<p>└╠ ╣«╝¡┤┬ ╛╞╞──í┐í╝¡ ╟┌╡Θ╖»╕ª ╗τ┐δ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘.</p>
</summary>
<section id="definition">
<title>╟┌╡Θ╖»░í ╣½╛∙└╬░í</title>
<related>
<modulelist>
<module>mod_actions</module>
<module>mod_asis</module>
<module>mod_cgi</module>
<module>mod_imap</module>
<module>mod_info</module>
<module>mod_mime</module>
<module>mod_negotiation</module>
<module>mod_status</module>
</modulelist>
<directivelist>
<directive module="mod_actions">Action</directive>
<directive module="mod_mime">AddHandler</directive>
<directive module="mod_mime">RemoveHandler</directive>
<directive module="core">SetHandler</directive>
</directivelist>
</related>
<p>╞─└╧└╗ ┐Σ├╗╟╥╢º ╛╞╞──í░í │╗║╬└√└╕╖╬ ╝÷╟α╟╥ └█╛≈└╗
"╟┌╡Θ╖»(handler)"╢≤░φ ╟╤┤┘. └╧╣▌└√└╕╖╬ ╞─└╧└║ ╞─└╧ ┴╛╖∙┐í
╡√╢≤ ╛╧╣¼└√└╬ ╟┌╡Θ╖»╕ª ░í┴÷░φ └╓┤┘. ╕≡╡τ ╞─└╧└║ ║╕┼δ ░ú┤▄╚≈
╝¡╣÷░í ╝¡║±╜║╟╧┴÷╕╕, ╛ε╢▓ ╞─└╧ ┴╛╖∙┤┬ ╡√╖╬ "├│╕«╡╚┤┘(handled)".</p>
<p>Apache 1.1║╬┼═ ╟┌╡Θ╖»╕ª ╕φ╜├└√└╕╖╬ ╗τ┐δ╟╥ ╝÷ └╓░╘ ╡╟╛·┤┘.
╞─└╧ ┴╛╖∙┐═ ░ⁿ░Φ╛°└╠ ╟┌╡Θ╖»╕ª ╞─└╧└╟ ╚«└σ└┌│¬ └º─í┐í ╡√╢≤
┴÷┴ñ╟╥ ╝÷ └╓┤┘. └╠┤┬ ┤⌡ ╚╟╕ó╟╤ ╣µ╣²└╠░φ ╞─└╧└╗ ┴╛╖∙┐═ ╟┌╡Θ╖»
╡╤ ╕≡╡╬┐═ ┐¼░Φ╟╥ ╝÷ └╓▒Γ╢º╣«┐í ┴┴┤┘. (<a
href="mod/mod_mime.html#multipleext">┐⌐╖» ╚«└σ└┌╕ª ░í┴° ╞─└╧</a>╡╡
┬ⁿ░φ)</p>
<p>╟┌╡Θ╖»┤┬ ╝¡╣÷│¬ ╕≡╡Γ╖╬ ▒╕╟÷╟╧┐⌐, <directive
module="mod_actions">Action</directive> ┴÷╜├╛ε╖╬ ├▀░í╟╥
╝÷ └╓┤┘. ╟Ñ┴╪ ╣Φ╞≈║╗┐í └╓┤┬ ▒Γ║╗ ╟┌╡Θ╖»┤┬ ┤┘└╜░· ░░┤┘:</p>
<ul>
<li><strong>default-handler</strong>: ┴ñ└√└╬ │╗┐δ└╗
├│╕«╟╧▒Γ└º╟╪ ▒Γ║╗└√└╕╖╬ ╗τ┐δ╟╧┤┬ ╟┌╡Θ╖»
<code>default_handler()</code>╕ª ╗τ┐δ╟╧┐⌐ ╞─└╧└╗ ║╕│╜┤┘.
(core)</li>
<li><strong>send-as-is</strong>: HTTP ╟∞┤⌡░í └╓┤┬ ╞─└╧└╗
▒╫┤δ╖╬ ║╕│╜┤┘. (<module>mod_asis</module>)</li>
<li><strong>cgi-script</strong>: ╞─└╧└╗ CGI╖╬ ├│╕«╟╤┤┘.
(<module>mod_cgi</module>)</li>
<li><strong>imap-file</strong>: imagemap ▒╘─ó ╞─└╧╖╬
├│╕«╟╤┤┘. (<module>mod_imap</module>)</li>
<li><strong>server-info</strong>: ╝¡╣÷└╟ ╝│┴ñ ┴ñ║╕╕ª
╛╦╖┴┴╪┤┘. (<module>mod_info</module>)</li>
<li><strong>server-status</strong>: ╝¡╣÷└╟ ╗≤┼┬╕ª ║╕░φ╟╤┤┘.
(<module>mod_status</module>)</li>
<li><strong>type-map</strong>: │╗┐δ╟∙╗≤┐í ╗τ┐δ╟╥
type map└╕╖╬ ├│╕«╟╤┤┘.
(<module>mod_negotiation</module>)</li>
</ul>
</section>
<section id="examples">
<title>┐╣┴ª</title>
<section id="example1">
<title>CGI ╜║┼⌐╕│╞«╕ª ╗τ┐δ╟╧┐⌐ ┴ñ└√└╬ │╗┐δ ╝÷┴ñ╟╧▒Γ</title>
<p>┤┘└╜ ┴÷╜├╛ε┤┬ ╚«└σ└┌░í <code>html</code>└╬ ╞─└╧└╗
┐Σ├╗╟╥ ░µ┐∞ <code>footer.pl</code> CGI ╜║┼⌐╕│╞«╕ª ╢τ┐ε┤┘.</p>
<example>
Action add-footer /cgi-bin/footer.pl<br/>
AddHandler add-footer .html
</example>
<p>CGI ╜║┼⌐╕│╞«┤┬
(<code>PATH_TRANSLATED</code> ╚»░µ║»╝÷░í ┴÷─¬╟╧┤┬) ┐°╖í
┐Σ├╗╟╤ ╣«╝¡╕ª └√└²╚≈ ╝÷┴ñ╟╤ ╚─ ║╕│╜┤┘.</p>
</section>
<section id="example2">
<title>HTTP ╟∞┤⌡╕ª ╞≈╟╘╟╧┤┬ ╞─└╧</title>
<p>┤┘└╜ ┴÷╜├╛ε┤┬ HTTP ╟∞┤⌡╕ª ╞≈╟╘╟╧┤┬ ╞─└╧┐í
<code>send-as-is</code> ╟┌╡Θ╖»╕ª ┴÷╜├╟╤┤┘.
<code>/web/htdocs/asis/</code> ╡≡╖║┼Σ╕« ╛╚┐í └╓┤┬ ╕≡╡τ
╞─└╧└║ ╚«└σ└┌┐═ ░ⁿ░Φ╛°└╠ <code>send-as-is</code> ╟┌╡Θ╖»░í
├│╕«╟╤┤┘.</p>
<example>
<Directory /web/htdocs/asis><br/>
SetHandler send-as-is<br/>
</Directory>
</example>
</section>
</section>
<section id="programmer">
<title>╟┴╖╬▒╫╖í╕╙╕ª └º╟╤ ┴ñ║╕</title>
<p>╟┌╡Θ╖» ▒Γ┤╔└╗ ▒╕╟÷╟╧▒Γ└º╟╪ ╗τ┐δ╟╘┴≈╟╤
<a href="developer/API.html">Apache API</a>░í ├▀░í╡╟╛·┤┘.
╞»╚≈ <code>request_rec</code> ▒╕┴╢├╝┐í ╗⌡╖╬┐ε ╟╩╡σ░í
├▀░í╡╟╛·┤┘:</p>
<example>
char *handler
</example>
<p>╕≡╡Γ└╠ ╟┌╡Θ╖»╕ª ╗τ┐δ╟╧╖┴╕Θ, ┐Σ├╗└╟
<code>invoke_handler</code> ┤▄░Φ └╠└ⁿ┐í
<code>r->handler</code>┐í ╟┌╡Θ╖» └╠╕º└╗ ┴÷┴ñ╟╪┴╓▒Γ╕╕
╟╧╕Θ ╡╚┤┘. ╟┌╡Θ╖»┤┬ content type ┤δ╜┼ ╟┌╡Θ╖» └╠╕º└╗ ╗τ┐δ╟╤
░═└╗ ┴ª┐▄╟╧░φ┤┬ └ⁿ░· ░░└╠ ▒╕╟÷╡╟╛·┤┘. ▓└ ┴÷┼│ ╟╩┐Σ┤┬ ╛°┴÷╕╕
╟┌╡Θ╖» └╠╕º┐í ╜╜╖í╜¼╕ª ╗τ┐δ╟╧┴÷ ╛╩░φ, ┤▄╛ε╡Θ ╗τ└╠┐í ╗⌐▒Γ
▒Γ╚ú╕ª ╗τ┐δ╟╧┤┬ ░═└╠ └╧╣▌└√└╠┤┘. ▒╫╖í╝¡ ╟┌╡Θ╖» └╠╕º└╠
media type░· ░π─í┴÷ ╛╩┤┬┤┘.</p>
</section>
</manualpage>