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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
|
<?xml version="1.0" encoding="EUC-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_alias - Apache HTTP ������</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/">�⥸�塼��</a> | <a href="../mod/directives.html">�ǥ��쥯�ƥ���</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">�Ѹ�</a> | <a href="../sitemap.html">�����ȥޥå�</a></p>
<p class="apache">Apache HTTP ������ ������� 2.3</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 ������</a> > <a href="http://httpd.apache.org/docs/">�ɥ�����ơ������</a> > <a href="../">�С������
2.3</a> > <a href="./">�⥸�塼��</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache �⥸�塼�� mod_alias</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="../en/mod/mod_alias.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_alias.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_alias.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div>
<div class="outofdate">This translation may be out of date. Check the
English version for recent changes.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>�ۥ��ȥե����륷���ƥ��Τ��������ʰ㤦����
�ɥ�����ȥĥ�˥ޥåפ��뵡ǽ�ȡ�
URL �Υ�����쥯�Ȥ�Ԥʤ���ǽ������</td></tr>
<tr><th><a href="module-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">�⥸�塼�뼱�̻�:</a></th><td>alias_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">�������ե�����:</a></th><td>mod_alias.c</td></tr></table>
<h3>����</h3>
<p>���Υ⥸�塼��Υǥ��쥯�ƥ��֤ϥ����Ф˥ꥯ�����Ȥ����夷���Ȥ���
URL ����������뤳�Ȥ��ǽ�ˤ��ޤ���<code class="directive"><a href="#alias">Alias</a></code>
�ǥ��쥯�ƥ��֤� <code class="directive"><a href="#scriptalias">ScriptAlias</a></code>
�ǥ��쥯�ƥ��֤�
URL �ȥե����륷���ƥ�Υѥ���ޥåפ��뤿��˻��Ѥ���ޤ��������
<code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>
�β��ˤʤ��ɥ�����Ȥ��֤Υɥ�����ȥĥ�ΰ����Ȥ���
������褦�ˤ��ޤ���<code class="directive"><a href="#scriptalias">ScriptAlias</a></code>
�ǥ��쥯�ƥ��֤ˤϥޥå���Υǥ��쥯�ȥ꤬ CGI
������ץȤΤߤǤ��뤳�Ȥ��Ȥ����ɲäθ��̤�����ޤ���
</p>
<p><code class="directive"><a href="#redirect">Redirect</a></code> �ǥ��쥯�ƥ��֤�
���饤����Ȥ˰�ä�
URL �˿������ꥯ�����Ȥ�����褦�˻ؼ����ޤ�������ϡ�
����������������˰�ư�����Ȥ��ˤ褯���Ѥ���ޤ���</p>
<p><code class="module"><a href="../mod/mod_alias.html">mod_alias</a></code> �ϴ�ñ�� URL ���������߷פ���Ƥ��ޤ���
���ʣ��������������ȥ�����ˤϡ�<code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>
�������ġ������Ѥ��Ƥ���������</p>
</div>
<div id="quickview"><h3 class="directives">�ǥ��쥯�ƥ���</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#alias">Alias</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#aliasmatch">AliasMatch</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#redirect">Redirect</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#redirectmatch">RedirectMatch</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#redirectpermanent">RedirectPermanent</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#redirecttemp">RedirectTemp</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#scriptalias">ScriptAlias</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#scriptaliasmatch">ScriptAliasMatch</a></li>
</ul>
<h3>�ȥԥå�</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif" /> <a href="#order">�������</a></li>
</ul><h3>����</h3>
<ul class="seealso">
<li><code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code></li>
<li><a href="../urlmapping.html">URL ����ե����륷���ƥ��ΰ��֤ؤΥޥåԥ�</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="order" id="order">�������</a></h2>
<p>�͡��ʥ���ƥ�������Ǥ� Alias �� Redirect ��¾�Υǥ��쥯�ƥ��֤�
Ʊ���褦��ɸ��� <a href="../sections.html#mergin">�ޡ�����§</a> ��
���äƽ�������ޤ�����������(�㤨�� <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> ������������Τ褦��) ʣ���� Alias �� Redirect ��
Ʊ������ƥ�������˸��줿���Ϸ�ޤä����֤ǽ�������ޤ���</p>
<p>�ޤ���Alias �����ˤ��٤Ƥ� Redirect ����������ޤ����Ǥ����顢<code class="directive"><a href="#redirect">Redirect</a></code> �� <code class="directive"><a href="#redirectmatch">RedirectMatch</a></code> �˥ޥå�����ꥯ�����Ȥˤ�
Alias �Ϸ褷��Ŭ�Ѥ���ޤ����ˡ�Alias �� Redirect ������ե��������
���֤�Ŭ�Ѥ��졢�ǽ�˥ޥå�������Τ�ͥ�褵��ޤ���</p>
<p>�Ǥ����顢��İʾ�Υǥ��쥯�ƥ��֤�Ʊ���ѥ���Ŭ�Ѥ����Ȥ��ϡ�
���٤ƤΥǥ��쥯�ƥ��֤θ��̤����뤿��ˤϤ��ܤ����ѥ�����˽�
ɬ�פ�����ޤ����㤨�С���������ϴ����̤��ư��ޤ�:</p>
<div class="example"><p><code>
Alias /foo/bar /baz<br />
Alias /foo /gaq
</code></p></div>
<p>���������嵭����ĤΥǥ��쥯�ƥ��֤ν��֤��դˤʤ�ȡ�
<code>/foo</code> <code class="directive"><a href="#alias">Alias</a></code> ��
��� <code>/foo/bar</code> <code class="directive"><a href="#alias">Alias</a></code> �����˥ޥå����ޤ��Τǡ���Ԥ�
�褷��Ŭ�Ѥ���뤳�ȤϤ���ޤ���</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="Alias" id="Alias">Alias</a> <a name="alias" id="alias">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>URL ��ե����륷���ƥ�ΰ��֤˥ޥåפ���</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>Alias <var>URL-path</var>
<var>file-path</var>|<var>directory-path</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_alias</td></tr>
</table>
<p><code class="directive">Alias</code> �ǥ��쥯�ƥ��֤ϥɥ�����Ȥ�
��������ե����륷���ƥ��
<code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>
�ʳ��ξ����ݴɤ��뤳�Ȥ��ǽ�ˤ��ޤ���
URL �� (% �����椵�줿) �ѥ��� <var>url-path</var> �ǻϤޤ��Τ�
<var>directory-filename</var>
�ǻϤޤ��������ե�����˥ޥåפ���ޤ���</p>
<div class="example"><h3>��</h3><p><code>
Alias /image /ftp/pub/image
</code></p></div>
<p>http://myserver/image/foo.gif �ؤΥꥯ�����Ȥ��Ф��ơ������Ф�
�ե����� /ftp/pub/image/foo.gif ���֤��ޤ���</p>
<p>�⤷ <var>url-path</var> �κǸ�� /
����ʤ顢�����Ф������ꥢ����Ÿ�����뤿��ˤϡ��Ǹ�� /
��ɬ�פˤʤ뤳�Ȥ����դ��Ƥ������������ʤ����<code>Alias /icons/
/usr/local/apache/icons/</code> �Ȥ�����Τ���Ѥ��Ƥ�����ϡ�
<code>/icons</code> �Ȥ��� url �ϥ����ꥢ������ޤ���</p>
<p>�����ꥢ����<em>�Ԥ���</em>��ޤ�Ǥ��� <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code>
�����������ɲä���ɬ�פ����뤫�⤷��ʤ����Ȥ����դ��Ƥ���������
�����ꥢ����Ÿ���� <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code>
����������Ĵ�٤����˹Ԥʤ��ޤ��Τǡ�
�����ꥢ���ιԤ���� <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> ���������Τ�
���̤�����ޤ���
(��������<code class="directive"><a href="../mod/core.html#location"><Location></a></code>
���������ϥ����ꥢ����������������˼¹Ԥ���ޤ��Τǡ�
�������Ŭ�Ѥ���ޤ���)</p>
<p>�äˡ�<code>Alias</code> ��
<code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>
�ǥ��쥯�ȥ�γ�¦�����֤������ϡ��Ԥ���Υǥ��쥯�ȥ���Ф���
�����������¤�����Ū�����¤��ʤ���Фʤ�ʤ��Ǥ��礦��</p>
<div class="example"><h3>��</h3><p><code>
Alias /image /ftp/pub/image<br />
<Directory /ftp/pub/image><br />
<span class="indent">
Order allow,deny<br />
Allow from all<br />
</span>
</Directory>
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="AliasMatch" id="AliasMatch">AliasMatch</a> <a name="aliasmatch" id="aliasmatch">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>����ɽ����Ȥä� URL ��ե����륷���ƥ�ΰ��֤˥ޥåפ���</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>AliasMatch <var>regex</var>
<var>file-path</var>|<var>directory-path</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_alias</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤� <code class="directive"><a href="#alias">Alias</a></code>
�ȤۤȤ��Ʊ���Ǥ�������ñ����Ƭ����Υޥå���Ԥʤ��ΤǤϤʤ���
ɸ������ɽ�������Ѥ��ޤ��������ǻ��ꤵ�줿����ɽ���� URL �Υѥ�
���礦���ɤ�����Ĵ�١��礦���ϳ�̤dz��줿�ޥå���
Ϳ����줿ʸ������֤������������ե�����̾�Ȥ��ƻ��Ѥ��ޤ������Ȥ��С�
<code>/icons</code> �ǥ��쥯�ȥ��Ȥ�
����ˤϰʲ��Τ褦�ʤ�Τ����ѤǤ��ޤ�:</p>
<div class="example"><p><code>
AliasMatch ^/icons(.*) /usr/local/apache/icons$1
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="Redirect" id="Redirect">Redirect</a> <a name="redirect" id="redirect">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���饤����Ȥ��㤦 URL ���������褦�˳����ؤΥ�����쥯�Ȥ�
����</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>Redirect [<var>status</var>] <var>URL-path</var>
<var>URL</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���, �ǥ��쥯�ȥ�, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">���:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_alias</td></tr>
</table>
<p>Redirect �ǥ��쥯�ƥ��֤ϸŤ� URL ������Τإޥåפ��ޤ���
������ URL �����饤����Ȥ��֤���ޤ��������ơ�
���饤����ȤϿ��������ɥ쥹��⤦���������褦�Ȥ��ޤ���
<var>URL-path</var> (% �����椵�줿) �ѥ��ǻϤޤ�ɥ�����Ȥؤ�
���٤ƤΥꥯ�����Ȥ� <var>URL</var> �ǻϤޤ뿷����
(% ����沽���줿) URL �ؤΥ�����쥯�ȥ��顼���֤���ޤ���</p>
<div class="example"><h3>��</h3><p><code>
Redirect /service http://foo2.bar.com/service
</code></p></div>
<p>���饤����Ȥ� http://myserver/service/foo.txt
�ؤΥꥯ�����Ȥ�Ԥʤ��ȡ������ http://foo2.bar.com/service/foo.txt
����������褦�˹𤲤��ޤ���</p>
<div class="note"><h3>����</h3><p>����ե�������ν��֤˴ؤ�餺��
Redirect �ϤΥǥ��쥯�ƥ��֤� Alias
�ǥ��쥯�ƥ��֤� ScriptAlias �ǥ��쥯�ƥ��֤���ͥ�褵��ޤ���
�ޤ���.htaccess �ե������ <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code>
������������ǻȤ��Ƥ����Ȥ��Ƥ⡢<var>URL-path</var>
�����Хѥ��ǤϤʤ��������� URL �Ǥʤ���Фʤ�ޤ���</p></div>
<p>�⤷ <var>status</var> ������Ϳ�����Ƥ��ʤ���С�������쥯�Ȥ�
"temporary" (HTTP ���ơ����� 302) �ˤʤ�ޤ�������ϥ��饤����Ȥ�
����������Ū�˰�ư�����Ȥ������Ȥ��ޤ���<var>Status</var>
������ ¾�� HTTP �Υ��ơ����������ɤ��֤�����˻��Ѥ��뤳�Ȥ��Ǥ��ޤ�:</p>
<dl>
<dt>permanent</dt>
<dd>�ʵפ˥�����쥯�Ȥ륹�ơ����� (301) ���֤��ޤ���
����ϥ�������ʵפ˰�ư�����Ȥ������Ȥ��̣���ޤ���</dd>
<dt>temp</dt>
<dd>���Ū�ʥ�����쥯�ȥ��ơ����� (302)
���֤��ޤ������줬�ǥե���ȤǤ���</dd>
<dt>seeother</dt>
<dd>"See Other" ���ơ����� (303) ���֤��ޤ���
����ϥ������¾�Τ�Τ��֤�������줿���Ȥ��̣���ޤ���</dd>
<dt>gone</dt>
<dd>"Gone" ���ơ����� (410) ���֤��ޤ�������ϥ�������ʵפ�
������줿���Ȥ��̣���ޤ������Υ��ơ����������Ѥ��줿��硢
<var>url</var> �����Ͼ�ά����ʤ���Фʤ�ޤ���</dd>
</dl>
<p><var>Status</var> ���ͤ˥��ơ����������ɤ���ͤ�Ϳ���뤳�Ȥ�
¾�Υ��ơ����������ɤ��֤����Ȥ��Ǥ��ޤ������ơ������� 300 �� 399
�δ֤ˤ����硢<var>url</var> ������¸�ߤ��Ƥ��ʤ���Ф����ޤ���
����¾�ξ��Ͼ�ά����Ƥ��ʤ���Фʤ�ޤ���������
���ơ������� Apache �Υ����ɤ��ΤäƤ����ΤǤ���ɬ�פ�����ޤ�
(http_protocol.c �δؿ� <code>send_error_response</code>
�Ƥ�������)��</p>
<p>��:</p>
<div class="example"><h3>��</h3><p><code>
Redirect permanent /one http://example.com/two<br />
Redirect 303 /three http://example.com/other
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="RedirectMatch" id="RedirectMatch">RedirectMatch</a> <a name="redirectmatch" id="redirectmatch">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���ߤ� URL �ؤ�����ɽ���Υޥå��ˤ��
�����ؤΥ�����쥯�Ȥ�����</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>RedirectMatch [<var>status</var>] <var>regex</var>
<var>URL</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���, �ǥ��쥯�ȥ�, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">���:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_alias</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤� <code class="directive"><a href="#redirect">Redirect</a></code>
�ȤۤȤ��Ʊ���Ǥ�������ñ����Ƭ����Υޥå���Ԥʤ��ΤǤϤʤ���
ɸ������ɽ�������Ѥ��ޤ��������ǻ��ꤵ�줿����ɽ���� URL-path
���礦���ɤ�����Ĵ�١��礦���ϳ�̤dz��줿�ޥå���
Ϳ����줿ʸ������֤������������ե�����̾�Ȥ��ƻ��Ѥ��ޤ���
���Ȥ��С����٤Ƥ� GIF �ե�������̥����Ф�Ʊ�ͤ�̾���� JPEG
�ե�����˥�����쥯�Ȥ���ˤϡ��ʲ��Τ褦�ʤ�Τ�Ȥ��ޤ�:
</p>
<div class="example"><p><code>
RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="RedirectPermanent" id="RedirectPermanent">RedirectPermanent</a> <a name="redirectpermanent" id="redirectpermanent">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���饤����Ȥ��㤦 URL ���������褦�˳����ؤαʵ�Ū��
������쥯�Ȥ�����</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>RedirectPermanent <var>URL-path</var> <var>URL</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���, �ǥ��쥯�ȥ�, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">���:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_alias</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥ��饤����Ȥ� Redirect ���ʵ�Ū�ʤ��
(���ơ����� 301) �Ǥ��뤳�Ȥ��Τ餻�ޤ���
<code>Redirect permanent</code> �Ȥޤä���Ʊ���Ǥ���</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="RedirectTemp" id="RedirectTemp">RedirectTemp</a> <a name="redirecttemp" id="redirecttemp">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���饤����Ȥ��㤦 URL ���������褦�˳����ؤΰ��Ū��
������쥯�Ȥ�����</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>RedirectTemp <var>URL-path</var> <var>URL</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���, �ǥ��쥯�ȥ�, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">���:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_alias</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥ��饤����Ȥ� Redirect
�����Ū�ʤ�ΤǤ��� (���ơ����� 302) ���Ȥ��Τ餻�ޤ���
<code>Redirect temp</code> �Ȥޤä���Ʊ���Ǥ���</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ScriptAlias" id="ScriptAlias">ScriptAlias</a> <a name="scriptalias" id="scriptalias">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>URL ��ե����륷���ƥ�ΰ��֤إޥåפ����ޥå����
CGI ������ץȤ˻���</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ScriptAlias <var>URL-path</var>
<var>file-path</var>|<var>directory-path</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_alias</td></tr>
</table>
<p><code class="directive">ScriptAlias</code> �ǥ��쥯�ƥ��֤ϡ��оݥǥ��쥯�ȥ��
<code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code> �� cgi-script
�ϥ�ɥ�ǽ�������� CGI
������ץȤ����뤳�Ȥ��ʳ���
<code class="directive"><a href="#alias">Alias</a></code>
�ǥ��쥯�ƥ��֤�Ʊ�������ޤ���
URL �� (% �����椵�줿) �ѥ��� <var>URL-path</var> �ǻϤޤ��Τ�
��������Υե����륷���ƥ��
�ե�ѥ��Ǥ��������ܤΰ����˥ޥåפ���ޤ���</p>
<div class="example"><h3>��</h3><p><code>
ScriptAlias /cgi-bin/ /web/cgi-bin/
</code></p></div>
<p><code>http://myserver/cgi-bin/foo</code>
�ؤΥꥯ�����Ȥ��Ф��ƥ����Фϥ�����ץ�
<code>/web/cgi-bin/foo</code> ��¹Ԥ��ޤ���</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ScriptAliasMatch" id="ScriptAliasMatch">ScriptAliasMatch</a> <a name="scriptaliasmatch" id="scriptaliasmatch">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>URL ������ɽ����Ȥäƥե����륷���ƥ�ΰ��֤إޥåפ����ޥå����
CGI ������ץȤ˻���</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ScriptAliasMatch <var>regex</var>
<var>file-path</var>|<var>directory-path</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_alias</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤� <code class="directive"><a href="#scriptalias">ScriptAlias</a></code>
�ȤۤȤ��Ʊ���Ǥ�������ñ����Ƭ����Υޥå���Ԥʤ��ΤǤϤʤ���
ɸ������ɽ�������Ѥ��ޤ��������ǻ��ꤵ�줿����ɽ���� URL-path
���礦���ɤ�����Ĵ�١��礦���ϳ�̤dz��줿�ޥå���
Ϳ����줿ʸ������֤������������ե�����̾�Ȥ��ƻ��Ѥ��ޤ���
���Ȥ��С�ɸ��� <code>/cgi-bin</code>
����Ѥ���褦�ˤ��뤿��ˤϡ��ʲ��Τ褦�ʤ�Τ�Ȥ��ޤ�:
</p>
<div class="example"><p><code>
ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1
</code></p></div>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/mod/mod_alias.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_alias.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_alias.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">�⥸�塼��</a> | <a href="../mod/directives.html">�ǥ��쥯�ƥ���</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">�Ѹ�</a> | <a href="../sitemap.html">�����ȥޥå�</a></p></div>
</body></html>
|