Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://www.arcetri.astro.it/manual/ko/handler.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013 Äàòà èíäåêñèðîâàíèÿ: Thu Feb 27 23:54:01 2014 Êîäèðîâêà: ISO8859-5 Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ð ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï |
Apache HTTP Server Version 2.2
ÐÜ É?Ì-ÄÒ ÎÖÖÔÔÅÏÅÌ- ×êÅùÇ?È? Ë÷Ïû×ßÄÒ ÉöÉÐË ÌÃÈý×áÄé.
À?ÇÓÅØ È?Åò | À?ÇÓÅØ Ñ?ÍÓÎþ |
---|---|
ÖÔÐßÐË ÏôÓË×âÆ? ÎÖÖÔÔÅÀÅ ÃËÊÞÐ?ÐÈÇÞ Ì?×ð×â ÐëÎ?ÐË "×êÅùÇ?(handler)"Æ?Àý ×áÄé. ÐßÉíÐ?ÐÈÇÞ ÖÔÐßÐÊ ÖÔÐß ÑÎÇ?ÏÅ Å?Æ? ÎßÉ?Ð?ÐÞ ×êÅùÇ?È? ÀÅÑ?Àý ÐæÄé. È?Å÷ ÖÔÐßÐÊ ÊÈÕû À?ÄìØ? Ì-É?ÀÅ Ì-ÊåÍÊ×ßÑ?ÈÈ, ÎþÆ ÖÔÐß ÑÎÇ?ÄÒ Å?ÇÞ "ÓÃÈ?ÅØÄé(handled)".
Apache 1.1ÊÞÕÝ ×êÅùÇ?È? ÈýÍÓÐ?ÐÈÇÞ Ë÷Ïû×â Ì? ÐæÀä Å×Î?Äé. ÖÔÐß ÑÎÇ?ÏÝ À?ÀøÎ?ÐÜ ×êÅùÇ?È? ÖÔÐßÐ× Ø?ÐõÐêÃ? Ð?ÔÅÏÅ Å?Æ? Ñ?Ñ?×â Ì? ÐæÄé. ÐÜÄÒ Ä? Ø×È?×á ÉöÉÐÜÀý ÖÔÐßÐË ÑÎÇ?ÏÝ ×êÅùÇ? Åá È?ÅÞÏÝ Ï?Àø×â Ì? ÐæÁòÆ?É?ÏÅ ÑÑÄé. (Ï?Ç? Ø?ÐõÐêÈ? ÀÅÑ? ÖÔÐßÅÅ Ò?Àý)
×êÅùÇ?ÄÒ Ì-É?Ã? È?ÅòÇÞ ÁÈ×?×ßÏ?, Action
Ñ?ÍÓÎþÇÞ ÓïÀÅ×â
Ì? ÐæÄé. ×?Ñè ÉøÖ?ÊËÏÅ ÐæÄÒ ÁòÊË ×êÅùÇ?ÄÒ ÄéÐÍÀ? ÀÀÄé:
default_handler()
È? Ë÷Ïû×ßÏ? ÖÔÐßÐË ÊÈÃÍÄé.
(core)mod_asis
)mod_cgi
)mod_imagemap
)mod_info
)mod_status
)mod_negotiation
)ÄéÐÍ Ñ?ÍÓÎþÄÒ Ø?ÐõÐêÀÅ html
ÐÞ ÖÔÐßÐË
ÏôÓË×â ÀöÏü footer.pl
CGI ÍÊÕ?ÈÃÖ?È? Æ÷ÏþÄé.
Action add-footer /cgi-bin/footer.pl
AddHandler add-footer .html
CGI ÍÊÕ?ÈÃÖ?ÄÒ
(PATH_TRANSLATED
Ø?ÀöÊ?Ì?ÀÅ Ñ?Ô?×ßÄÒ) Ï?ÇÅ
ÏôÓË×á É?Ì-È? Ð?ÐØ? Ì?Ñ?×á ØÔ ÊÈÃÍÄé.
ÄéÐÍ Ñ?ÍÓÎþÄÒ HTTP ×üÄ?È? Ö?×ä×ßÄÒ ÖÔÐßÏÅ
send-as-is
×êÅùÇ?È? Ñ?ÍÓ×áÄé.
/web/htdocs/asis/
Å?ÇÊÕôÈ? ÎØÏÅ ÐæÄÒ È?Å÷
ÖÔÐßÐÊ Ø?ÐõÐêÏÝ À?ÀøÎ?ÐÜ send-as-is
×êÅùÇ?ÀÅ
ÓÃÈ?×áÄé.
<Directory /web/htdocs/asis>
SetHandler send-as-is
</Directory>
×êÅùÇ? ÁòÄÙÐË ÁÈ×?×ßÁòÐ?×è Ë÷Ïû×äÑ?×á
Apache APIÀÅ ÓïÀÅÅ×Î?Äé.
Ö?Ø? request_rec
ÁÈÑÆÓÌÏÅ Ë?ÇÞÏþ ×ÚÅõÀÅ
ÓïÀÅÅ×Î?Äé:
char *handler
È?ÅòÐÜ ×êÅùÇ?È? Ë÷Ïû×ßÇÑÈù, ÏôÓËÐ×
invoke_handler
ÄìÀø ÐÜÐ?ÏÅ
r->handler
ÏÅ ×êÅùÇ? ÐÜÈ?ÐË Ñ?Ñ?×èÑæÁòÈÈ
×ßÈù ÅØÄé. ×êÅùÇ?ÄÒ content type ÄûÍÕ ×êÅùÇ? ÐÜÈ?ÐË Ë÷Ïû×á
ÀÝÐË Ñ?Ïì×ßÀýÄÒ Ð?À? ÀÀÐÜ ÁÈ×?Å×Î?Äé. ÂÐ Ñ?Õà ×ÚÏôÄÒ Î?Ñ?ÈÈ
×êÅùÇ? ÐÜÈ?ÏÅ ÍÍÇÅÍ?È? Ë÷Ïû×ßÑ? ÎÚÀý, ÄìÎþÅù Ë÷ÐÜÏÅ Ë?Áò
ÁòØ?È? Ë÷Ïû×ßÄÒ ÀÝÐÜ ÐßÉíÐ?ÐÜÄé. ÁçÇÅÌ- ×êÅùÇ? ÐÜÈ?ÐÜ
media typeÀ? ÀóÔÅÑ? ÎÚÄÒÄé.