summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.ja.jis
blob: 75bdec448db380011a1b461609400fff50138118 (plain)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
  <head>

    <title>Module mod_actions</title>

  </head>
  <!-- English revision: 1.19 -->
  <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
  <body bgcolor="#ffffff" text="#000000" link="#0000ff"
  vlink="#000080" alink="#ff0000">
        <div align="CENTER">
      <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> 

      <h3>Apache HTTP Server Version 1.3</h3>
    </div>


    <h1 align="center">mod_actions $B%b%8%e!<%k(B</h1>

    <p>$B$3$N%b%8%e!<%k$O%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!$7$^$9!#(B</p>

    <p><a href="module-dict.html#status"
    rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br />
     <a href="module-dict.html#sourcefile"
    rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a>
    mod_actions.c<br />
     <a href="module-dict.html#moduleidentifier"
    rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a>
    action_module<br />
     <a href="module-dict.html#Compatibility"
    rel="help"><strong>$B8_49@-(B:</strong></a>
    Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B</p>

    <h2>$B35MW(B</h2>

    <p>$B$3$N%b%8%e!<%k$K$OFs$D$N%G%#%l%/%F%#%V$,$"$j$^$9!#(BAction
    $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!#(BScript
    $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>

    <h2>$B%G%#%l%/%F%#%V(B</h2>

    <ul>
      <li><a href="#action">Action</a></li>
      <li><a href="#script">Script</a></li>
    </ul>
    <hr />

    <h2><a id="action" name="action">Action $B%G%#%l%/%F%#%V(B</a></h2>

    <p><a href="directive-dict.html#syntax"
    rel="help"><strong>$B9=J8(B:</strong></a> Action <em>action-type
    cgi-script</em><br />
     <a href="directive-dict.html#context"
    rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>
    $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br />
     <a href="directive-dict.html#override"
    rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br />
     <a href="directive-dict.html#status"
    rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br />
     <a href="directive-dict.html#module"
    rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_actions<br />
     <a href="directive-dict.html#Compatibility"
    rel="help"><strong>$B8_49@-(B:</strong></a>
    Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B</p>

    <p>$B$3$N%G%#%l%/%F%#%V$O(B <em>action-type</em>
    $B$,%j%/%(%9%H$5$l$?$H$-$K(B <em>cgi-script</em>
    $B$,<B9T$5$l$k$H$$$&F0:n$rDI2C$7$^$9!#(B<i>cgi-script</i> $B$O(B
    <code>ScriptAlias</code> $B$d(B <code>AddHandler</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
    <em>Action-type</em> $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>

    <p>$BNc(B:</p>
    <pre>
    # Requests for files of a particular type:
    Action image/gif /cgi-bin/images.cgi

    # Files of a particular file extension
    AddHandler my-file-type .xyz
    Action my-file-type /cgi-bin/program.cgi
    </pre>

    <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>

    <p><a href="mod_mime.html#addhandler">AddHandler</a>
    $B$b(B<strong>$B;2>H(B</strong>$B$7$F$/$@$5$$(B</p>

    <hr />

    <h2><a id="script" name="script">Script $B%G%#%l%/%F%#%V(B</a></h2>

    <p><a href="directive-dict.html#syntax"
    rel="help"><strong>$B9=J8(B:</strong></a> Script <em>method
    cgi-script</em><br />
     <a href="directive-dict.html#context"
    rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>
    $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j(B<br />
     <a href="directive-dict.html#status"
    rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br />
     <a href="directive-dict.html#module"
    rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_actions<br />
     <a href="directive-dict.html#Compatibility"
    rel="help"><strong>$B8_49@-(B:</strong></a> Script $B$O(B Apache 1.1
    $B0J9_$G$N$_;HMQ2DG=!#G$0U$N%a%=%C%I$N;HMQ$O(B 1.3.10
    $B0J9_$G$N$_;HMQ2DG=!#(B</p>

    <p>$B$3$N%G%#%l%/%F%#%V$O(B <i>method</i>
    $B$H$$$&%a%=%C%I$r;H$C$F%j%/%(%9%H$,9T$J$o$l$?$H$-$K(B
    <i>cgi-script</i> $B$r<B9T$9$k$H$$$&F0:n$rDI2C$7$^$9!#(B
    <i>cgi-script</i> $B$O(B
    <code>ScriptAlias</code> $B$d(B <code>AddHandler</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>

    <blockquote>
      Apache 1.3.10 $B$h$jA0$G$O!"(B<i>method</i> $B$O(B <code>GET</code>,
      <code>POST</code>, <code>PUT</code>, <code>DELETE</code>
      $B$@$1$,;XDj2DG=$G$7$?!#(B1.3.10
      $B$G$O!"G$0U$N%a%=%C%IL>$r;HMQ$9$k$3$H$,$G$-$^$9!#(B
      <b>$B%a%=%C%IL>$OBgJ8;z>.J8;z$r6hJL$7$^$9(B</b>$B!#$G$9$+$i!"(B
      <code>Script&nbsp;PUT</code> $B$H(B <code>Script&nbsp;put</code>
      $B$O$^$C$?$/0c$C$?8z2L$K$J$j$^$9!#(B
    </blockquote>

    <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>

    <p>$BNc(B:</p>
<pre>
    # For &lt;ISINDEX&gt;-style searching
    Script GET /cgi-bin/search
    # A CGI PUT handler
    Script PUT /~bob/put.cgi
</pre>
        <hr />

    <h3 align="CENTER">Apache HTTP Server Version 1.3</h3>
    <a href="./"><img src="../images/index.gif" alt="Index" /></a>
    <a href="../"><img src="../images/home.gif" alt="Home" /></a>

  </body>
</html>