⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mod_alias.xml.ja

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 JA
📖 第 1 页 / 共 2 页
字号:
    <p>Redirect $B%G%#%l%/%F%#%V$O8E$$(B URL $B$r?7$7$$$b$N$X%^%C%W$7$^$9!#(B    $B?7$7$$(B URL $B$,%/%i%$%"%s%H$KJV$5$l$^$9!#$=$7$F!"(B    $B%/%i%$%"%s%H$O?7$7$$%"%I%l%9$r$b$&0l2s<hF@$7$h$&$H$7$^$9!#(B    <var>URL-path</var> (% $B$,I|9f$5$l$?(B) $B%Q%9$G;O$^$k%I%-%e%a%s%H$X$N(B    $B$9$Y$F$N%j%/%(%9%H$O(B <var>URL</var> $B$G;O$^$k?7$7$$(B    (% $B$,Id9f2=$5$l$?(B) URL $B$X$N%j%@%$%l%/%H%(%i!<$,JV$5$l$^$9!#(B</p>    <example><title>$BNc(B</title>      Redirect /service http://foo2.bar.com/service    </example>    <p>$B%/%i%$%"%s%H$O(B http://myserver/service/foo.txt    $B$X$N%j%/%(%9%H$r9T$J$&$H!"Be$o$j$K(B http://foo2.bar.com/service/foo.txt    $B$r%"%/%;%9$9$k$h$&$K9p$2$i$l$^$9!#(B</p><note><title>$BCm0U(B</title><p>$B@_Dj%U%!%$%kCf$N=gHV$K4X$o$i$:!"(BRedirect $B7O$N%G%#%l%/%F%#%V$O(B Alias$B%G%#%l%/%F%#%V$H(B ScriptAlias $B%G%#%l%/%F%#%V$h$j$bM%@h$5$l$^$9!#(B$B$^$?!"(B.htaccess $B%U%!%$%k$d(B <directivetype="section" module="core">Directory</directive>$B%;%/%7%g%s$NCf$G;H$o$l$F$$$?$H$7$F$b!"(B<var>URL-path</var>$B$OAjBP%Q%9$G$O$J$/!"40A4$J(B URL $B$G$J$1$l$P$J$j$^$;$s!#(B</p></note>    <p>$B$b$7(B <var>status</var> $B0z?t$,M?$($i$l$F$$$J$1$l$P!"%j%@%$%l%/%H$O(B    "temporary" (HTTP $B%9%F!<%?%9(B 302) $B$K$J$j$^$9!#$3$l$O%/%i%$%"%s%H$K(B    $B%j%=!<%9$,0l;~E*$K0\F0$7$?$H$$$&$3$H$r<($7$^$9!#(B<var>Status</var>    $B0z?t$O(B $BB>$N(B HTTP $B$N%9%F!<%?%9%3!<%I$rJV$9$?$a$K;HMQ$9$k$3$H$,$G$-$^$9(B:</p>    <dl>      <dt>permanent</dt>      <dd>$B1J5W$K%j%@%$%l%/%H$r$9$k%9%F!<%?%9(B (301) $B$rJV$7$^$9!#(B      $B$3$l$O%j%=!<%9$,1J5W$K0\F0$7$?$H$$$&$3$H$r0UL#$7$^$9!#(B</dd>      <dt>temp</dt>      <dd>$B0l;~E*$J%j%@%$%l%/%H%9%F!<%?%9(B (302)      $B$rJV$7$^$9!#$3$l$,%G%U%)%k%H$G$9!#(B</dd>      <dt>seeother</dt>      <dd>"See Other" $B%9%F!<%?%9(B (303) $B$rJV$7$^$9!#(B      $B$3$l$O%j%=!<%9$,B>$N$b$N$GCV$-49$($i$l$?$3$H$r0UL#$7$^$9!#(B</dd>    <dt>gone</dt>      <dd>"Gone" $B%9%F!<%?%9(B (410) $B$rJV$7$^$9!#$3$l$O%j%=!<%9$,1J5W$K(B      $B:o=|$5$l$?$3$H$r0UL#$7$^$9!#$3$N%9%F!<%?%9$,;HMQ$5$l$?>l9g!"(B      <var>url</var> $B0z?t$O>JN,$5$l$J$1$l$P$J$j$^$;$s!#(B</dd>    </dl>    <p><var>Status</var> $B$NCM$K%9%F!<%?%9%3!<%I$r?tCM$GM?$($k$3$H$G(B    $BB>$N%9%F!<%?%9%3!<%I$bJV$9$3$H$,$G$-$^$9!#%9%F!<%?%9$,(B 300 $B$H(B 399    $B$N4V$K$"$k>l9g!"(B<var>url</var> $B0z?t$OB8:_$7$F$$$J$1$l$P$$$1$^$;$s!#(B    $B$=$NB>$N>l9g$O>JN,$5$l$F$$$J$1$l$P$J$j$^$;$s!#$?$@$7!"(B    $B%9%F!<%?%9$O(B Apache $B$N%3!<%I$,CN$C$F$$$k$b$N$G$"$kI,MW$,$"$j$^$9(B    (http_protocol.c $B$N4X?t(B <code>send_error_response</code>    $B$r8+$F$/$@$5$$(B)$B!#(B</p>    <p>$BNc(B:</p>    <example><title>$BNc(B</title>      Redirect permanent /one http://example.com/two<br />      Redirect 303 /three http://example.com/other    </example></usage></directivesynopsis><directivesynopsis><name>RedirectMatch</name><description>$B8=:_$N(B URL $B$X$N@55,I=8=$N%^%C%A$K$h$j(B$B30It$X$N%j%@%$%l%/%H$rAw$k(B</description><syntax>RedirectMatch [<var>status</var>] <var>regex</var><var>URL</var></syntax><contextlist><context>server config</context><context>virtual host</context><context>directory</context><context>.htaccess</context></contextlist><override>FileInfo</override><usage>    <p>$B$3$N%G%#%l%/%F%#%V$O(B <directive module="mod_alias">Redirect</directive>    $B$H$[$H$s$IF1$8$G$9$,!"4JC1$J@hF,$+$i$N%^%C%A$r9T$J$&$N$G$O$J$/!"(B    $BI8=`@55,I=8=$rMxMQ$7$^$9!#$3$3$G;XDj$5$l$?@55,I=8=$H(B URL-path    $B$,9g$&$+$I$&$+$rD4$Y!"9g$&>l9g$O3g8L$G3g$i$l$?%^%C%A$r(B    $BM?$($i$l$?J8;zNs$GCV$-49$(!"$=$l$r%U%!%$%kL>$H$7$F;HMQ$7$^$9!#(B    $B$?$H$($P!"$9$Y$F$N(B GIF $B%U%!%$%k$rJL%5!<%P$NF1MM$JL>A0$N(B JPEG    $B%U%!%$%k$K%j%@%$%l%/%H$9$k$K$O!"0J2<$N$h$&$J$b$N$r;H$$$^$9(B:    </p>    <example>      RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg    </example></usage></directivesynopsis><directivesynopsis><name>RedirectTemp</name><description>$B%/%i%$%"%s%H$,0c$&(B URL $B$r<hF@$9$k$h$&$K30It$X$N0l;~E*$J(B$B%j%@%$%l%/%H$rAw$k(B</description><syntax>RedirectTemp <var>URL-path</var> <var>URL</var></syntax><contextlist><context>server config</context><context>virtual host</context><context>directory</context><context>.htaccess</context></contextlist><override>FileInfo</override><usage>    <p>$B$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$K(B Redirect    $B$,0l;~E*$J$b$N$G$"$k(B ($B%9%F!<%?%9(B 302) $B$3$H$rCN$i$;$^$9!#(B    <code>Redirect temp</code> $B$H$^$C$?$/F1$8$G$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>RedirectPermanent</name><description>$B%/%i%$%"%s%H$,0c$&(B URL $B$r<hF@$9$k$h$&$K30It$X$N1J5WE*$J(B$B%j%@%$%l%/%H$rAw$k(B</description><syntax>RedirectPermanent <var>URL-path</var> <var>URL</var></syntax><contextlist><context>server config</context><context>virtual host</context><context>directory</context><context>.htaccess</context></contextlist><override>FileInfo</override><usage>    <p>$B$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$K(B Redirect $B$,1J5WE*$J$b$N(B    ($B%9%F!<%?%9(B 301) $B$G$"$k$3$H$rCN$i$;$^$9!#(B    <code>Redirect premanent</code> $B$H$^$C$?$/F1$8$G$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>ScriptAlias</name><description>URL $B$r%U%!%$%k%7%9%F%`$N0LCV$X%^%C%W$7!"%^%C%W@h$r(BCGI $B%9%/%j%W%H$K;XDj(B</description><syntax>ScriptAlias <var>URL-path</var><var>file-path</var>|<var>directory-path</var></syntax><contextlist><context>server config</context><context>virtual host</context></contextlist><usage>    <p><directive>ScriptAlias</directive> $B%G%#%l%/%F%#%V$O!"BP>]%G%#%l%/%H%j$K(B    <module>mod_cgi</module> $B$N(B cgi-script    $B%O%s%I%i$G=hM}$5$l$k(B CGI    $B%9%/%j%W%H$,$"$k$3$H$r<($90J30$O(B    <directive module="mod_alias">Alias</directive>    $B%G%#%l%/%F%#%V$HF1$8?6$kIq$$$r$7$^$9!#(B    URL $B$N(B (% $B$,I|9f$5$l$?(B) $B%Q%9$,(B <var>URL-path</var> $B$G;O$^$k$b$N$O(B    $B%m!<%+%k$N%U%!%$%k%7%9%F%`$N(B    $B%U%k%Q%9$G$"$kFsHVL\$N0z?t$K%^%C%W$5$l$^$9!#(B</p>    <example><title>$BNc(B</title>      ScriptAlias /cgi-bin/ /web/cgi-bin/    </example>    <p><code>http://myserver/cgi-bin/foo</code>    $B$X$N%j%/%(%9%H$KBP$7$F%5!<%P$O%9%/%j%W%H(B    <code>/web/cgi-bin/foo</code> $B$r<B9T$7$^$9!#(B</p></usage></directivesynopsis><directivesynopsis><name>ScriptAliasMatch</name><description>URL $B$r@55,I=8=$r;H$C$F%U%!%$%k%7%9%F%`$N0LCV$X%^%C%W$7!"%^%C%W@h$r(BCGI $B%9%/%j%W%H$K;XDj(B</description><syntax>ScriptAliasMatch <var>regex</var><var>file-path</var>|<var>directory-path</var></syntax><contextlist><context>server config</context><context>virtual host</context></contextlist><usage>    <p>$B$3$N%G%#%l%/%F%#%V$O(B <directive module="mod_alias">ScriptAlias</directive>    $B$H$[$H$s$IF1$8$G$9$,!"4JC1$J@hF,$+$i$N%^%C%A$r9T$J$&$N$G$O$J$/!"(B    $BI8=`@55,I=8=$rMxMQ$7$^$9!#$3$3$G;XDj$5$l$?@55,I=8=$H(B URL-path    $B$,9g$&$+$I$&$+$rD4$Y!"9g$&>l9g$O3g8L$G3g$i$l$?%^%C%A$r(B    $BM?$($i$l$?J8;zNs$GCV$-49$(!"$=$l$r%U%!%$%kL>$H$7$F;HMQ$7$^$9!#(B    $B$?$H$($P!"I8=`$N(B <code>/cgi-bin</code>    $B$r;HMQ$9$k$h$&$K$9$k$?$a$K$O!"0J2<$N$h$&$J$b$N$r;H$$$^$9(B:    </p>    <example>      ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1    </example></usage></directivesynopsis></modulesynopsis>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -