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
|
<?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.2</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.2</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>
|