Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : 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
<-
Apache > HTTP Server > Documentation > Version 2.2

ÎÖÖÔÔÅÏÅÌ- ×êÅùÇ? Ë÷Ïû

ÀÅÄÙ×á Î?Îþ:  en  |  es  |  fr  |  ja  |  ko  |  ru  |  tr  |  zh-cn 

ÐÜ É?Ì-ÄÒ ÓæÍÕÖ× É?Ï?ÐÜ ÎÖÄåÄßÄé. ÓæÁéÏÅ Ê?ÀöÅØ ÃËÏûÐÊ ÏÅÎþ É?Ì-È? Ò?Àý×ßÌÌÏô.

ÐÜ É?Ì-ÄÒ ÎÖÖÔÔÅÏÅÌ- ×êÅùÇ?È? Ë÷Ïû×ßÄÒ ÉöÉÐË ÌÃÈý×áÄé.

top

×êÅùÇ?ÀÅ É?Î?ÐÞÀÅ

ÖÔÐßÐË ÏôÓË×âÆ? ÎÖÖÔÔÅÀÅ ÃËÊÞÐ?ÐÈÇÞ Ì?×ð×â ÐëÎ?ÐË "×êÅùÇ?(handler)"Æ?Àý ×áÄé. ÐßÉíÐ?ÐÈÇÞ ÖÔÐßÐÊ ÖÔÐß ÑÎÇ?ÏÅ Å?Æ? ÎßÉ?Ð?ÐÞ ×êÅùÇ?È? ÀÅÑ?Àý ÐæÄé. È?Å÷ ÖÔÐßÐÊ ÊÈÕû À?ÄìØ? Ì-É?ÀÅ Ì-ÊåÍÊ×ßÑ?ÈÈ, ÎþÆ ÖÔÐß ÑÎÇ?ÄÒ Å?ÇÞ "ÓÃÈ?ÅØÄé(handled)".

Apache 1.1ÊÞÕÝ ×êÅùÇ?È? ÈýÍÓÐ?ÐÈÇÞ Ë÷Ïû×â Ì? ÐæÀä Å×Î?Äé. ÖÔÐß ÑÎÇ?ÏÝ À?ÀøÎ?ÐÜ ×êÅùÇ?È? ÖÔÐßÐ× Ø?ÐõÐêÃ? Ð?ÔÅÏÅ Å?Æ? Ñ?Ñ?×â Ì? ÐæÄé. ÐÜÄÒ Ä? Ø×È?×á ÉöÉÐÜÀý ÖÔÐßÐË ÑÎÇ?ÏÝ ×êÅùÇ? Åá È?ÅÞÏÝ Ï?Àø×â Ì? ÐæÁòÆ?É?ÏÅ ÑÑÄé. (Ï?Ç? Ø?ÐõÐêÈ? ÀÅÑ? ÖÔÐßÅÅ Ò?Àý)

×êÅùÇ?ÄÒ Ì-É?Ã? È?ÅòÇÞ ÁÈ×?×ßÏ?, Action Ñ?ÍÓÎþÇÞ ÓïÀÅ×â Ì? ÐæÄé. ×?Ñè ÉøÖ?ÊËÏÅ ÐæÄÒ ÁòÊË ×êÅùÇ?ÄÒ ÄéÐÍÀ? ÀÀÄé:

top

ÏÉÑ?

CGI ÍÊÕ?ÈÃÖ?È? Ë÷Ïû×ßÏ? Ñ?Ð?ÐÞ ÃËÏû Ì?Ñ?×ßÁò

ÄéÐÍ Ñ?ÍÓÎþÄÒ Ø?ÐõÐêÀÅ htmlÐÞ ÖÔÐßÐË ÏôÓË×â ÀöÏü footer.pl CGI ÍÊÕ?ÈÃÖ?È? Æ÷ÏþÄé.

Action add-footer /cgi-bin/footer.pl
AddHandler add-footer .html

CGI ÍÊÕ?ÈÃÖ?ÄÒ (PATH_TRANSLATED Ø?ÀöÊ?Ì?ÀÅ Ñ?Ô?×ßÄÒ) Ï?ÇÅ ÏôÓË×á É?Ì-È? Ð?ÐØ? Ì?Ñ?×á ØÔ ÊÈÃÍÄé.

HTTP ×üÄ?È? Ö?×ä×ßÄÒ ÖÔÐß

ÄéÐÍ Ñ?ÍÓÎþÄÒ HTTP ×üÄ?È? Ö?×ä×ßÄÒ ÖÔÐßÏÅ send-as-is ×êÅùÇ?È? Ñ?ÍÓ×áÄé. /web/htdocs/asis/ Å?ÇÊÕôÈ? ÎØÏÅ ÐæÄÒ È?Å÷ ÖÔÐßÐÊ Ø?ÐõÐêÏÝ À?ÀøÎ?ÐÜ send-as-is ×êÅùÇ?ÀÅ ÓÃÈ?×áÄé.

<Directory /web/htdocs/asis>
SetHandler send-as-is
</Directory>

top

×ÑÇÞÁçÇÅÈãÈ? Ð?×á Ñ?ÊÈ

×êÅùÇ? ÁòÄÙÐË ÁÈ×?×ßÁòÐ?×è Ë÷Ïû×äÑ?×á Apache APIÀÅ ÓïÀÅÅ×Î?Äé. Ö?Ø? request_rec ÁÈÑÆÓÌÏÅ Ë?ÇÞÏþ ×ÚÅõÀÅ ÓïÀÅÅ×Î?Äé:

char *handler

È?ÅòÐÜ ×êÅùÇ?È? Ë÷Ïû×ßÇÑÈù, ÏôÓËÐ× invoke_handler ÄìÀø ÐÜÐ?ÏÅ r->handlerÏÅ ×êÅùÇ? ÐÜÈ?ÐË Ñ?Ñ?×èÑæÁòÈÈ ×ßÈù ÅØÄé. ×êÅùÇ?ÄÒ content type ÄûÍÕ ×êÅùÇ? ÐÜÈ?ÐË Ë÷Ïû×á ÀÝÐË Ñ?Ïì×ßÀýÄÒ Ð?À? ÀÀÐÜ ÁÈ×?Å×Î?Äé. ÂÐ Ñ?Õà ×ÚÏôÄÒ Î?Ñ?ÈÈ ×êÅùÇ? ÐÜÈ?ÏÅ ÍÍÇÅÍ?È? Ë÷Ïû×ßÑ? ÎÚÀý, ÄìÎþÅù Ë÷ÐÜÏÅ Ë?Áò ÁòØ?È? Ë÷Ïû×ßÄÒ ÀÝÐÜ ÐßÉíÐ?ÐÜÄé. ÁçÇÅÌ- ×êÅùÇ? ÐÜÈ?ÐÜ media typeÀ? ÀóÔÅÑ? ÎÚÄÒÄé.

ÀÅÄÙ×á Î?Îþ:  en  |  es  |  fr  |  ja  |  ko  |  ru  |  tr  |  zh-cn 

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.