|
| 1 | +<?xml version="1.0" encoding="iso-2022-jp"?> |
| 2 | +<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> |
| 3 | +<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?> |
| 4 | +<modulesynopsis> |
| 5 | +<!-- English revision: 1.5 --> |
| 6 | + |
| 7 | +<name>mod_actions</name> |
| 8 | + |
| 9 | +<description>$B%a%G%#%"%?%$%W$d%j%/%(%9%H%a%=%C%I$K1~$8$F(B |
| 10 | +CGI $B%9%/%j%W%H$r<B9T$9$k5!G=$rDs6!(B</description> |
| 11 | + |
| 12 | +<status>Base</status> |
| 13 | +<sourcefile>mod_actions.c</sourcefile> |
| 14 | +<identifier>actions_module</identifier> |
| 15 | + |
| 16 | +<summary> |
| 17 | + <p>$B$3$N%b%8%e!<%k$K$OFs$D$N%G%#%l%/%F%#%V$,$"$j$^$9!#(B<directive |
| 18 | + module="mod_actions">Action</directive> |
| 19 | + $B%G%#%l%/%F%#%V$OFCDj$N%?%$%W$N%U%!%$%k$r%j%/%(%9%H$5$l$?>l9g$K(B |
| 20 | + CGI $B%9%/%j%W%H$,<B9T$5$l$k$h$&$K$7$^$9!#(B<directive |
| 21 | + module="mod_actions">Script</directive> |
| 22 | + $B%G%#%l%/%F%#%V$O%j%/%(%9%H$GFCDj$N%a%=%C%I$,;HMQ$5$l$?$H$-$K(B CGI |
| 23 | + $B%9%/%j%W%H$,<B9T$5$l$k$h$&$K$7$^$9!#(B |
| 24 | + $B$3$l$O%U%!%$%k$r=hM}$9$k%9%/%j%W%H$N<B9T$r$:$C$H4JC1$K$7$^$9!#(B</p> |
| 25 | +</summary> |
| 26 | +
|
| 27 | +<directivesynopsis> |
| 28 | +
|
| 29 | +<name>Action</name> |
| 30 | +
|
| 31 | +<description>$BFCDj$N%O%s%I%i$d%3%s%F%s%H%?%$%W$KBP$7$F(B CGI $B$r<B9T$9$k$h$&$K(B |
| 32 | +$B@_Dj(B</description> |
| 33 | +
|
| 34 | +<syntax>Action <em>action-type cgi-script</em></syntax> |
| 35 | +<contextlist> |
| 36 | +<context>$B%5!<%P@_Dj%U%!%$%k(B</context><context>$B%P!<%A%c%k%[%9%H(B</context> |
| 37 | +<context>$B%G%#%l%/%H%j(B</context><context>.htaccess</context> |
| 38 | +</contextlist> |
| 39 | +<override>FileInfo</override> |
| 40 | +
|
| 41 | +<usage> |
| 42 | + <p>$B$3$N%G%#%l%/%F%#%V$O(B <em>action-type</em> |
| 43 | + $B$,%j%/%(%9%H$5$l$?$H$-$K(B <em>cgi-script</em> |
| 44 | + $B$,<B9T$5$l$k$H$$$&F0:n$rDI2C$7$^$9!#(B<em>cgi-script</em> $B$O(B |
| 45 | + <directive module="mod_alias">ScriptAlias</directive> $B$d(B |
| 46 | + <directive module="mod_mime">AddHandler</directive> $B$K$h$C$F(B |
| 47 | + CGI $B%9%/%j%W%H$K@_Dj$5$l$?%j%=!<%9$X$N(B URL-path $B$G$9!#(B |
| 48 | + <em>Action-type</em> $B$K$O(B |
| 49 | + <a href="../handler.html">handler</a> $B$+(B MIME |
| 50 | + $B%3%s%F%s%H%?%$%W$r;XDj$G$-$^$9!#%j%/%(%9%H$5$l$?%I%-%e%a%s%H$N(B URL |
| 51 | + $B$H%U%!%$%k$N%Q%9$OI8=`(B CGI $B4D6-JQ?t(B PATH_INFO $B$H(B PATH_TRANSLATED |
| 52 | + $B$r;H$C$FEA$($i$l$^$9!#(B</p> |
| 53 | +
|
| 54 | +<example> |
| 55 | +<title>$BNc(B</title> |
| 56 | +
|
| 57 | + # Requests for files of a particular type:<br /> |
| 58 | + Action image/gif /cgi-bin/images.cgi<br /> |
| 59 | +<br /> |
| 60 | + # Files of a particular file extension<br /> |
| 61 | + AddHandler my-file-type .xyz<br /> |
| 62 | + Action my-file-type /cgi-bin/program.cgi<br /> |
| 63 | +</example> |
| 64 | +
|
| 65 | + <p>$B:G=i$NNc$G$O!"(BMIME $B%3%s%F%s%H%?%$%W$,(B <code>image/gif</code> |
| 66 | + $B$N%U%!%$%k$X$N%j%/%(%9%H$O!"$=$N%U%!%$%k$NBe$o$j$K;XDj$5$l$?%9%/%j%W%H(B |
| 67 | + <code>/cgi-bin/images.cgi</code> $B$,8F$P$l$^$9!#(B</p> |
| 68 | +
|
| 69 | + <p>2 $BHVL\$NNc$G$O!"3HD%;R$,(B <code>.xyz</code> $B$N%U%!%$%k$X$N%j%/%(%9%H$O!"(B |
| 70 | + $B$=$N%U%!%$%k$NBe$o$j$K;XDj$5$l$?%9%/%j%W%H(B |
| 71 | + <code>/cgi-bin/program.cgi</code> $B$,8F$P$l$^$9!#(B</p> |
| 72 | +</usage> |
| 73 | +
|
| 74 | +<seealso><directive module="mod_mime">AddHandler</directive></seealso> |
| 75 | +
|
| 76 | +</directivesynopsis> |
| 77 | +
|
| 78 | +<directivesynopsis> |
| 79 | +
|
| 80 | +<name>Script</name> |
| 81 | +
|
| 82 | +<description>$BFCDj$N%j%/%(%9%H%a%=%C%I$KBP$7$F(B CGI $B%9%/%j%W%H$r(B |
| 83 | +$B<B9T$9$k$h$&$K@_Dj(B</description> |
| 84 | +<syntax> Script <em>method cgi-script</em></syntax> |
| 85 | +<contextlist> |
| 86 | +<context>$B%5!<%P@_Dj%U%!%$%k(B</context><context>$B%P!<%A%c%k%[%9%H(B</context> |
| 87 | +<context>$B%G%#%l%/%H%j(B</context></contextlist> |
| 88 | +<usage> |
| 89 | + <p>$B$3$N%G%#%l%/%F%#%V$O(B <em>method</em> |
| 90 | + $B$H$$$&%a%=%C%I$r;H$C$F%j%/%(%9%H$,9T$J$o$l$?$H$-$K(B |
| 91 | + <em>cgi-script</em> $B$r<B9T$9$k$H$$$&F0:n$rDI2C$7$^$9!#(B |
| 92 | + <em>cgi-script</em> $B$O(B |
| 93 | + <directive module="mod_alias">ScriptAlias</directive> $B$d(B |
| 94 | + <directive module="mod_mime">AddHandler</directive> $B$K$h$C$F(B |
| 95 | + CGI $B%9%/%j%W%H$K@_Dj$5$l$?%j%=!<%9$X$N(B URL-path $B$G$9!#(B |
| 96 | + $B%j%/%(%9%H$5$l$?%I%-%e%a%s%H$N(B URL $B$H%U%!%$%k$N%Q%9$OI8=`(B CGI |
| 97 | + $B4D6-JQ?t(B PATH_INFO $B$H(B PATH_TRANSLATED $B$r;H$C$FEA$($i$l$^$9!#(B</p> |
| 98 | +
|
| 99 | +<note> |
| 100 | + $BG$0U$N%a%=%C%IL>$r;HMQ$9$k$3$H$,$G$-$^$9!#(B |
| 101 | + <strong>$B%a%=%C%IL>$OBgJ8;z>.J8;z$r6hJL$7$^$9(B</strong>$B!#$G$9$+$i!"(B |
| 102 | + <code>Script PUT</code> $B$H(B <code>Script put</code> |
| 103 | + $B$O$^$C$?$/0c$C$?8z2L$K$J$j$^$9!#(B |
| 104 | +</note> |
| 105 | +
|
| 106 | + <p>Script $B%3%^%s%I$O%G%U%)%k%H$NF0:n$rDI2C$9$k$@$1$G$"$k$3$H$K(B |
| 107 | + $BCm0U$7$F$/$@$5$$!#$b$7(B CGI $B%9%/%j%W%H$,8F$P$l$?$j!"%j%/%(%9%H$5$l$?(B |
| 108 | + $B%a%=%C%I$rFbIt$G07$&$3$H$N$G$-$kB>$N%j%=!<%9$,$"$l$P!"$=$l$,9T$J$o$l$^$9!#(B |
| 109 | + <code>GET</code> $B%a%=%C%I$N(B Script $B$OLd9g$;0z?t$,$"$k>l9g$K$N$_(B |
| 110 | + (<em>$B$?$H$($P(B</em>$B!"(Bfoo.html?hi) $B8F$P$l$k$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B |
| 111 | + $B$=$&$G$J$$>l9g$O!"%j%/%(%9%H$ODL>oDL$j=hM}$5$l$^$9!#(B</p> |
| 112 | +
|
| 113 | +<example> |
| 114 | +<title>$BNc(B</title> |
| 115 | + # For <ISINDEX>-style searching<br /> |
| 116 | + Script GET /cgi-bin/search<br /> |
| 117 | + # A CGI PUT handler<br /> |
| 118 | + Script PUT /~bob/put.cgi<br /> |
| 119 | +</example> |
| 120 | +</usage> |
| 121 | +
|
| 122 | +</directivesynopsis> |
| 123 | +
|
| 124 | +</modulesynopsis> |
0 commit comments