Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://www.arcetri.astro.it/manual/ko/mod/mod_actions.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013 Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 06:27:56 2014 Êîäèðîâêà: ISO8859-5 Ïîèñêîâûå ñëîâà: ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï |
Apache HTTP Server Version 2.2
ÌÃÈý: | ÐÜ È?ÅòÐÊ ÉÜÅ?ÎþÑÎÇ?Ã? ÏôÓËÈîÌ-ÅõÏÅ Å?Æ? CGI ÍÊÕ?ÈÃÖ?È? Í××ð×áÄé. |
---|---|
Ë?ÕÒ: | Base |
È?ÅòÈý: | actions_module |
ÌâÍÊÖÔÐß: | mod_actions.c |
ÐÜ È?ÅòÏÅÄÒ ÅÞÀÅÑ? Ñ?ÍÓÎþÀÅ ÐæÄé. Action
Ñ?ÍÓÎþÄÒ ÏôÓË×ßÄÒ
ÖÔÐßÐ× MIME content typeÏÅ Å?Æ? CGI ÍÊÕ?ÈÃÖ?È? Í××ð×áÄé.
Script
Ñ?ÍÓÎþÄÒ
ÏôÓËÐÜ Ö?Ñ? ÈîÌ-ÅõÈ? Ë÷Ïû×â ÀöÏü CGI ÍÊÕ?ÈÃÖ?È? Í××ð×áÄé.
ÁçÇÅÌ- ÖÔÐßÐË ÓÃÈ?×ßÄÒ ÍÊÕ?ÈÃÖ?È? ÈÕÏü ÍÁÀä Í××ð×â Ì? ÐæÄé.
ÌÃÈý: | Ö?Ñ? ×êÅùÇ?Ã? content-typeÏÅ Äû×è CGI ÍÊÕ?ÈÃÖ?È? Ë÷Ïû×áÄé |
---|---|
É?É: | Action action-type cgi-script [virtual] |
Ë÷ÏûÐõÌâ: | ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?, directory, .htaccess |
Override ÏÙÌ×: | FileInfo |
Ë?ÕÒ: | Base |
È?Åò: | mod_actions |
Ñ?Ï?: | virtual Ì?Ñ?ÐêÏÝ ×êÅùÇ?ÄÒ ÎÖÖÔÔÅ
2.1Æ? ÓïÀÅÅ×Î?Äé |
ÐÜ Ñ?ÍÓÎþÄÒ ÏôÓËÐÜ action-typeÐÜÈù
cgi-scriptÈ? Í××ð×ßÄÒ ×ðÅÏÐË Ì-É?ÏÅ ÓïÀÅ×áÄé.
cgi-scriptÄÒ ScriptAlias
Ã? AddHandler
È? Ë÷Ïû×ßÏ? CGI
ÍÊÕ?ÈÃÖ?ÇÞ Ñ?Ñ?×á È?ÌâÍÊÐ× URLÀöÇÞÐÜÄé.
action-typeÏÅÄÒ ×êÅùÇ?Ã? MIME content typeÐË
Ë÷Ïû×â Ì? ÐæÄé. ÐÜ Ñ?ÍÓÎþÄÒ PATH_INFO
ÏÝ
PATH_TRANSLATED
CGI ×?Ñè Ø?ÀöÊ?Ì?ÇÞ ÏôÓË×á
É?Ì-Ð× URLÀ? ÖÔÐßÀöÇÞÈ? Ð?Äî×áÄé. REDIRECT_HANDLER
Ê?Ì?ÇÞ Ö?Ñ? ÏôÓËÏÅ Ë÷Ïû×â ×êÅùÇ?È? Ð?Äî×áÄé.
# Ö?Ñ? MIME content typeÐ× ÖÔÐß ÏôÓË:
Action image/gif /cgi-bin/images.cgi
# Ö?Ñ?×á Ø?ÐõÐêÈ? ÀÅÑ? ÖÔÐß
AddHandler my-file-type .xyz
Action my-file-type /cgi-bin/program.cgi
ÓÉÉ?ÒÀ ÏÉÏÅÌ- MIME content typeÐÜ image/gif
ÐÞ
ÖÔÐßÐË ÏôÓË×ßÈù Ñ?Ñ?×á cgi ÍÊÕ?ÈÃÖ? /cgi-bin/images.cgi
ÀÅ
ÓÃÈ?×áÄé.
ÅÞÉ?ÒÀ ÏÉÏÅÌ- Ø?ÐõÐêÀÅ .xyz
ÐÞ ÖÔÐßÐË ÏôÓË×ßÈù
Ñ?Ñ?×á cgi ÍÊÕ?ÈÃÖ? /cgi-bin/program.cgi
ÀÅ
ÓÃÈ?×áÄé.
In the second example, requests for files with a file extension of
.xyz
are handled instead by the specified cgi script
/cgi-bin/program.cgi
.
ÌÁÕÓÐ?ÐÞ virtual
Ì?Ñ?ÐêÄÒ ÏôÓË×á ÖÔÐßÐÜ
Í×Ñ?ÇÞ ÑÈÐ÷×ßÄÒÑ? ÀÛË÷×ßÑ? ÎÚÅÅÇß ×áÄé. ÏÉÈ? ÅùÎþ, ÀÅË?Ð×
Ð?ÔÅÏÅ Action
Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÇÑÄÒ
ÀöÏü Ð?Ïû×ßÄé.
<Location /news>
SetHandler news-handler
Action news-handler /cgi-bin/news.cgi virtual
</Location>
ÌÃÈý: | Ö?Ñ? ÏôÓËÈîÌ-ÅõÏÅ Äû×è CGI ÍÊÕ?ÈÃÖ?È? Ë÷Ïû×áÄé. |
---|---|
É?É: | Script method cgi-script |
Ë÷ÏûÐõÌâ: | ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?, directory |
Ë?ÕÒ: | Base |
È?Åò: | mod_actions |
ÐÜ Ñ?ÍÓÎþÄÒ ÖÔÐßÐË method ÈîÌ-ÅõÈ? Ë÷Ïû×ßÏ?
ÏôÓË×ßÈù cgi-scriptÈ? Í××ð×ßÄÒ ×ðÅÏÐË Ì-É?ÏÅ
ÓïÀÅ×áÄé. cgi-scriptÄÒ ScriptAlias
Ã? AddHandler
È? Ë÷Ïû×ßÏ? CGI
ÍÊÕ?ÈÃÖ?ÇÞ Ñ?Ñ?×á È?ÌâÍÊÐ× URLÀöÇÞÐÜÄé. ÐÜ Ñ?ÍÓÎþÄÒ
PATH_INFO
ÏÝ PATH_TRANSLATED
CGI
×?Ñè Ø?ÀöÊ?Ì?ÇÞ ÏôÓË×á É?Ì-Ð× URLÀ? ÖÔÐßÀöÇÞÈ? Ð?Äî×áÄé.
Script PUT
À?
Script put
ÐÊ ÏßÐ?Ø? ÄéÈ?Äé.
Script
ÈýÇÙÎþÄÒ ÁòÊËÐ?ÐÞ ×ðÅÏÈÈÐË
ÓÃÈ?×äÐË ÑæÐ××ßÆ?. CGI ÍÊÕ?ÈÃÖ?ÀÅ ÊâÈ?ÀÕÃ?, ÏôÓË×á ÈîÌ-ÅõÈ?
ÎÛÎÖÌ- ÓÃÈ?×â Ì? ÐæÄÒ È?ÌâÍÊÐ× ÀöÏü ÁçÄûÇÞ ÓÃÈ?×áÄé.
GET
ÈîÌ-ÅõÐ× Script
ÄÒ
Ñ?Ð×ÎÖÁäÈåÖ?ÀÅ ÐæÐËÆ?ÈÈ (ÏÉ, foo.html?hi) Ë÷Ïû×äÐË
ÑæÐ××ßÆ?. Ñ?Ð×ÎÖÁäÈåÖ?ÀÅ Î?ÄéÈù Ñ?Ë?Ð?ÐÈÇÞ ÏôÓËÐË ÓÃÈ?×áÄé.
# <ISINDEX>ÍÔ ÀÛË?ÐË Ð?×è
Script GET /cgi-bin/search
# CGI PUT ×êÅùÇ?
Script PUT /~bob/put.cgi