1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_actions - Apache HTTP $B%5!<%P(B</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<p class="menu"><a href="../mod/">$B%b%8%e!<%k(B</a> | <a href="../mod/directives.html">$B%G%#%l%/%F%#%V(B</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">$BMQ8l(B</a> | <a href="../sitemap.html">$B%5%$%H%^%C%W(B</a></p>
<p class="apache">Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 2.0</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP $B%5!<%P(B</a> > <a href="http://httpd.apache.org/docs-project/">$B%I%-%e%a%s%F!<%7%g%s(B</a> > <a href="../">$B%P!<%8%g%s(B 2.0</a> > <a href="./">$B%b%8%e!<%k(B</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache $B%b%8%e!<%k(B mod_actions</h1>
<table class="module"><tr><th><a href="module-dict.html#Description">$B@bL@(B:</a></th><td>$B%a%G%#%"%?%$%W$d%j%/%(%9%H%a%=%C%I$K1~$8$F(B
CGI $B%9%/%j%W%H$r<B9T$9$k5!G=$rDs6!(B</td></tr>
<tr><th><a href="module-dict.html#Status">$B%9%F!<%?%9(B:</a></th><td>Base</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">$B%b%8%e!<%k<1JL;R(B:</a></th><td>actions_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">$B%=!<%9%U%!%$%k(B:</a></th><td>mod_actions.c</td></tr></table>
<h3>$B35MW(B</h3>
<p>$B$3$N%b%8%e!<%k$K$OFs$D$N%G%#%l%/%F%#%V$,$"$j$^$9!#(B<code class="directive"><a href="#action">Action</a></code>
$B%G%#%l%/%F%#%V$OFCDj$N%?%$%W$N%U%!%$%k$r%j%/%(%9%H$5$l$?>l9g$K(B
CGI $B%9%/%j%W%H$,<B9T$5$l$k$h$&$K$7$^$9!#(B<code class="directive"><a href="#script">Script</a></code>
$B%G%#%l%/%F%#%V$O%j%/%(%9%H$GFCDj$N%a%=%C%I$,;HMQ$5$l$?$H$-$K(B CGI
$B%9%/%j%W%H$,<B9T$5$l$k$h$&$K$7$^$9!#(B
$B$3$l$O%U%!%$%k$r=hM}$9$k%9%/%j%W%H$N<B9T$r$:$C$H4JC1$K$7$^$9!#(B</p>
</div>
<div id="quickview"><h3 class="directives">$B%G%#%l%/%F%#%V(B</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#action">Action</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#script">Script</a></li>
</ul>
<h3>$B;2>H(B</h3>
<ul class="seealso">
<li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code></li>
<li><a href="../howto/cgi.html">CGI $B$K$h$kF0E*%3%s%F%s%D(B</a></li>
<li><a href="../handler.html">Apache $B$N%O%s%I%i$N;HMQ(B</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="Action" id="Action">Action</a> <a name="action" id="action">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>$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
$B@_Dj(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>Action <var>action-type</var> <var>cgi-script</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">$B>e=q$-(B:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">$B%9%F!<%?%9(B:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">$B%b%8%e!<%k(B:</a></th><td>mod_actions</td></tr>
</table>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <var>action-type</var>
$B$,%j%/%(%9%H$5$l$?$H$-$K(B <var>cgi-script</var>
$B$,<B9T$5$l$k$H$$$&F0:n$rDI2C$7$^$9!#(B<var>cgi-script</var> $B$O(B
<code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> $B$d(B
<code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> $B$K$h$C$F(B
CGI $B%9%/%j%W%H$K@_Dj$5$l$?%j%=!<%9$X$N(B URL-path $B$G$9!#(B
<var>Action-type</var> $B$K$O(B
<a href="../handler.html">handler</a> $B$+(B MIME
$B%3%s%F%s%H%?%$%W$r;XDj$G$-$^$9!#%j%/%(%9%H$5$l$?%I%-%e%a%s%H$N(B URL
$B$H%U%!%$%k$N%Q%9$OI8=`(B CGI $B4D6-JQ?t(B PATH_INFO $B$H(B PATH_TRANSLATED
$B$r;H$C$FEA$($i$l$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
# Requests for files of a particular type:<br />
Action image/gif /cgi-bin/images.cgi<br />
<br />
# Files of a particular file extension<br />
AddHandler my-file-type .xyz<br />
Action my-file-type /cgi-bin/program.cgi<br />
</code></p></div>
<p>$B:G=i$NNc$G$O!"(BMIME $B%3%s%F%s%H%?%$%W$,(B <code>image/gif</code>
$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
<code>/cgi-bin/images.cgi</code> $B$,8F$P$l$^$9!#(B</p>
<p>2 $BHVL\$NNc$G$O!"3HD%;R$,(B <code>.xyz</code> $B$N%U%!%$%k$X$N%j%/%(%9%H$O!"(B
$B$=$N%U%!%$%k$NBe$o$j$K;XDj$5$l$?%9%/%j%W%H(B
<code>/cgi-bin/program.cgi</code> $B$,8F$P$l$^$9!#(B</p>
<h3>$B;2>H(B</h3>
<ul>
<li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li>
</ul>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="Script" id="Script">Script</a> <a name="script" id="script">$B%G%#%l%/%F%#%V(B</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">$B@bL@(B:</a></th><td>$BFCDj$N%j%/%(%9%H%a%=%C%I$KBP$7$F(B CGI $B%9%/%j%W%H$r(B
$B<B9T$9$k$h$&$K@_Dj(B</td></tr>
<tr><th><a href="directive-dict.html#Syntax">$B9=J8(B:</a></th><td><code>Script <var>method</var> <var>cgi-script</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">$B%3%s%F%-%9%H(B:</a></th><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9%H(B, $B%G%#%l%/%H%j(B</td></tr>
<tr><th><a href="directive-dict.html#Status">$B%9%F!<%?%9(B:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">$B%b%8%e!<%k(B:</a></th><td>mod_actions</td></tr>
</table>
<p>$B$3$N%G%#%l%/%F%#%V$O(B <var>method</var>
$B$H$$$&%a%=%C%I$r;H$C$F%j%/%(%9%H$,9T$J$o$l$?$H$-$K(B
<var>cgi-script</var> $B$r<B9T$9$k$H$$$&F0:n$rDI2C$7$^$9!#(B
<var>cgi-script</var> $B$O(B
<code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> $B$d(B
<code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> $B$K$h$C$F(B
CGI $B%9%/%j%W%H$K@_Dj$5$l$?%j%=!<%9$X$N(B URL-path $B$G$9!#(B
$B%j%/%(%9%H$5$l$?%I%-%e%a%s%H$N(B URL $B$H%U%!%$%k$N%Q%9$OI8=`(B CGI
$B4D6-JQ?t(B PATH_INFO $B$H(B PATH_TRANSLATED $B$r;H$C$FEA$($i$l$^$9!#(B</p>
<div class="note">
$BG$0U$N%a%=%C%IL>$r;HMQ$9$k$3$H$,$G$-$^$9!#(B
<strong>$B%a%=%C%IL>$OBgJ8;z>.J8;z$r6hJL$7$^$9(B</strong>$B!#$G$9$+$i!"(B
<code>Script PUT</code> $B$H(B <code>Script put</code>
$B$O$^$C$?$/0c$C$?8z2L$K$J$j$^$9!#(B
</div>
<p>Script $B%3%^%s%I$O%G%U%)%k%H$NF0:n$rDI2C$9$k$@$1$G$"$k$3$H$K(B
$BCm0U$7$F$/$@$5$$!#$b$7(B CGI $B%9%/%j%W%H$,8F$P$l$?$j!"%j%/%(%9%H$5$l$?(B
$B%a%=%C%I$rFbIt$G07$&$3$H$N$G$-$kB>$N%j%=!<%9$,$"$l$P!"$=$l$,9T$J$o$l$^$9!#(B
<code>GET</code> $B%a%=%C%I$N(B Script $B$OLd9g$;0z?t$,$"$k>l9g$K$N$_(B
(<em>$B$?$H$($P(B</em>$B!"(Bfoo.html?hi) $B8F$P$l$k$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B
$B$=$&$G$J$$>l9g$O!"%j%/%(%9%H$ODL>oDL$j=hM}$5$l$^$9!#(B</p>
<div class="example"><h3>$BNc(B</h3><p><code>
# For <ISINDEX>-style searching<br />
Script GET /cgi-bin/search<br />
<br />
# A CGI PUT handler<br />
Script PUT /~bob/put.cgi<br />
</code></p></div>
</div>
</div>
<div id="footer">
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
<p class="menu"><a href="../mod/">$B%b%8%e!<%k(B</a> | <a href="../mod/directives.html">$B%G%#%l%/%F%#%V(B</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">$BMQ8l(B</a> | <a href="../sitemap.html">$B%5%$%H%^%C%W(B</a></p></div>
</body></html>
|