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

📄 core.xml.ja

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 JA
📖 第 1 页 / 共 5 页
字号:
    <ul>      <li><code>AllowOverride None</code> $B$,E,MQ$5$l$k!#(B      (<code>.htaccess</code> $B%U%!%$%k$OL58z$K$J$k(B)</li>      <li><code>AllowOverride FileInfo</code> $B$,E,MQ$5$l$k(B      (<code>/home</code> $B%G%#%l%/%H%j$KBP$7$F(B)$B!#(B</li>      <li><code>/home/.htaccess</code>, <code>/home/web/.htaccess</code>,      <code>/home/web/.htaccess</code> $B$N=g$K$=$l$i$N%U%!%$%kCf$N(B       FileInfo $B%G%#%l%/%F%#%V$,E,MQ$5$l$k!#(B</li>    </ul>    <p>$B@55,I=8=$O!"DL>o$N%;%/%7%g%s$,$9$Y$FE,MQ$5$l$k$^$G(B    $B9MN8$5$l$^$;$s!#(B    $B$=$N8e!"A4$F$N@55,I=8=$,@_Dj%U%!%$%k$K8=$l$?=g$G;n$5$l$^$9!#(B    $BNc$($P!"0J2<$N$h$&$J>l9g$K(B</p>    <example>      &lt;Directory ~ abc$&gt;<br />      <indent>        # ... directives here ...<br />      </indent>      &lt;/Directory&gt;    </example>    <p>$B@55,I=8=$N%;%/%7%g%s$O$9$Y$F$NDL>o$N(B <directive    type="section">Directory</directive> $B$H(B    <code>.htaccess</code> $B$NE,MQ$,=*$o$k$^$G9MN8$5$l$^$;$s!#(B    $B$=$N8e$G!"@55,I=8=$O(B <code>/home/abc/public_html/abc</code> $B$K%^%C%A$7!"(B    $BBP1~$9$k(B <directive type="section">Directory</directive> $B$,E,MQ$5$l$^$9!#(B</p>    <p><strong>Apache $B$N%G%U%)%k%H$G$O(B <code>&lt;Directory /&gt;</code> $B$X$N%"%/%;%9$O(B    <code>Allow from All</code> $B$K$J$C$F$$$k$3$H$KCm0U$7$F$/$@$5$$!#(B    $B$3$l$O!"(BURL $B$+$i%^%C%W$5$l$?$I$N%U%!%$%k$G$b(B Apache $B$OAw$k$H$$$&$3$H$G$9!#(B    $B$3$l$O0J2<$N$h$&$K$7$FJQ99$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B</strong></p>    <example>      &lt;Directory /&gt;<br />      <indent>        Order Deny,Allow<br />        Deny from All<br />      </indent>      &lt;/Directory&gt;    </example>    <p><strong>$B$=$7$F%"%/%;%9$r(B<em>$B2DG=$K$7$?$$(B</em>$B%G%#%l%/%H%j$KBP$7$F(B    $B8DJL$K@_Dj$9$l$P$h$$$G$7$g$&!#(B    $B$3$N$"$?$j$K$D$$$F$O!"(B<a    href="../misc/security_tips.html">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a>$B$r(B    $B;2>H$7$F$/$@$5$$!#(B</strong></p>    <p>$B%G%#%l%/%H%j%;%/%7%g%s$O(B httpd.conf $B%U%!%$%k=q$-$^$9!#(B    <directive type="section">Directory</directive>    $B%G%#%l%/%F%#%V$OF~$l;R$K$9$k$3$H$,$G$-$:!"(B    <directive module="core" type="section">Limit</directive> $B$d(B <directive    module="core" type="section">LimitExcept</directive> $B%;%/%7%g%s$NCf$K$b(B    $B5-=R$G$-$^$;$s!#(B</p></usage><seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B    $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html">    &lt;Directory&gt;, &lt;Location&gt;, &lt;Files&gt; $B%;%/%7%g%s$NF0:nK!(B</a></seealso></directivesynopsis><directivesynopsis type="section"><name>DirectoryMatch</name><description>$B@55,I=8=$K%^%C%A$9$k%U%!%$%k%7%9%F%`$N%G%#%l%/%H%j$H(B$B%5%V%G%#%l%/%H%j$H$N$_$KE,MQ$5$l$k%G%#%l%/%F%#%V$r0O$`(B</description><syntax>&lt;DirectoryMatch <var>regex</var>&gt;... &lt;/DirectoryMatch&gt;</syntax><contextlist><context>server config</context><context>virtual host</context></contextlist><usage>    <p><directive module="core" type="section">Directory</directive>    $B%G%#%l%/%F%#%V$HF1MM$K!"(B<directive type="section">DirectoryMatch</directive>    $B$H(B <code>&lt;/DirectoryMatch&gt;</code> $B$O;XDj$5$l$?%G%#%l%/%H%j$H(B    $B$=$N%5%V%G%#%l%/%H%j$K$N$_E,MQ$5$l$k%G%#%l%/%F%#%V72$r0O$$$^$9!#(B    $B$7$+$7!"$3$N%G%#%l%/%F%#%V$O0z?t$H$7$F@55,I=8=$r$H$j$^$9!#Nc$($P(B:</p>    <example>      &lt;DirectoryMatch "^/www/.*/[0-9]{3}"&gt;    </example>    <p>$B$O(B /www/ $B0J2<$K$"$k?t;z(B 3 $BJ8;z$N%G%#%l%/%H%j$K%^%C%A$7$^$9!#(B</p></usage><seealso>$BDL>o$N(B <directive type="section">Directory</directive> $B$H@55,I=8=$N;XDj$,(B$BE,MQ$5$l$k=gHV$K$D$$$F$O(B <directive type="section"module="core">Directory</directive></seealso><seealso>$B%j%/%(%9%H$r<u$1$?:]$K$3$l$i$N0[$J$k%;%/%7%g%s$,(B    $BAH$_9g$o$5$l$kJ}K!$K$D$$$F$O(B <a href="../sections.html">    &lt;Directory&gt;, &lt;Location&gt;, &lt;Files&gt; $B%;%/%7%g%s$NF0:nK!(B</a></seealso></directivesynopsis><directivesynopsis><name>DocumentRoot</name><description>$B%&%'%V$+$i8+$($k%a%$%s$N%I%-%e%a%s%H%D%j!<$K$J$k(B$B%G%#%l%/%H%j(B</description><syntax>DocumentRoot <var>directory-path</var></syntax><default>DocumentRoot /usr/local/apache/htdocs</default><contextlist><context>server config</context><context>virtual host</context></contextlist><usage>    <p>$B$3$N%G%#%l%/%F%#%V$O!"(B<code>httpd</code> $B$,%U%!%$%k$rDs6!$9$k%G%#%l%/%H%j$r@_Dj$7$^$9!#(B     <directive module="mod_alias">Alias</directive> $B$N$h$&$J%G%#%l%/%F%#%V$K%^%C%A$7$J$$>l9g$K$O!"(B    $B%I%-%e%a%s%H$N(B ($BLuCm(B:$B%U%!%$%k%7%9%F%`>e$N(B) $B%Q%9$r@8@.$9$k$?$a$K!"(B    $B%j%/%(%9%H$5$l$?(B URL $B$N%Q%9ItJ,$r%I%-%e%a%s%H%k!<%H$KIUM?$7$^$9!#(B    $BNc(B:</p>    <example>      DocumentRoot /usr/web    </example>    <p>$B$3$N>l9g!"(B    <code>http://www.my.host.com/index.html</code> $B$X$N%"%/%;%9$,$"$l$P(B    <code>/usr/web/index.html</code> $B$,JV$5$l$^$9!#(B</p>    <p><directive>DocumentRoot</directive> $B$O:G8e$N%9%i%C%7%eL5$7$G(B    $B;XDj$9$kI,MW$,$"$j$^$9!#(B</p></usage><seealso><a href="../urlmapping.html">URL $B$r%U%!%$%k%7%9%F%`$N0LCV$K(B$B%^%C%W$9$k(B</a></seealso></directivesynopsis><directivesynopsis><name>EnableMMAP</name><description>$BG[AwCf$K%U%!%$%k$rFI$_9~$`$?$a$K%a%b%j%^%C%T%s%0$r(B$B;H$&$+$I$&$+(B</description><syntax>EnableMMAP On|Off</syntax><default>EnableMMAP On</default><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$OG[AwCf$K%U%!%$%k$NFbMF$rFI$_9~$`I,MW$,$"$k$H$-$K(B    <code>httpd</code> $B$,%a%b%j%^%C%T%s%0$r;H$&$+$I$&$+$r@)8f$7$^$9!#%G%U%)%k%H$G$O!"(B    $BNc$($P!"(B<module>mod_include</module> $B$r;H$C$F(B SSI $B%U%!%$%k$rG[Aw(B    $B$9$k$H$-$N$h$&$K!"%U%!%$%k$NESCf$N%G!<%?$r%"%/%;%9$9$kI,MW$,$"$k$H$-$K$O(B    Apache $B$O(B OS $B$,%5%]!<%H$7$F$$$l$P%U%!%$%k$r%a%b%j$K%^%C%W$7$^$9!#(B</p>    <p>    $B$3$N%a%b%j%^%C%W$O@-G=$N8~>e$r;}$?$i$9$3$H$,$"$j$^$9!#(B    $B$7$+$7!"4D6-$K$h$C$F$O1?MQ>e$NLdBj$rKI$0$?$a$K%a%b%j%^%C%T%s%0$r(B    $B;HMQ$7$J$$$h$&$K$7$?J}$,NI$$>l9g$b$"$j$^$9(B:</p>    <ul>    <li>$B%^%k%A%W%m%;%C%5%7%9%F%`$NCf$K$O%a%b%j%^%C%T%s%0$r$9$k$H(B <code>httpd</code> $B$N(B    $B@-G=$,Mn$A$k$b$N$,$"$j$^$9!#(B</li>    <li>NFS $B%^%&%s%H$5$l$?(B <directive module="core">DocumentRoot</directive>    $B$G$O!"(B<code>httpd</code> $B$,%a%b%j%^%C%W$7$F$$$k4V$K%U%!%$%k$,:o=|$5$l$?$j(B    $BC;$/$J$C$?$j$7$?$H$-$K5/$3$k%;%0%a%s%F!<%7%g%s%U%)!<%k%H$N$?$a$K(B    <code>httpd</code> $B$,%/%i%C%7%e$9$k2DG=@-$,$"$j$^$9!#(B</li>    </ul>    <p>$B$3$l$i$NLdBj$KEv$F$O$^$k%5!<%P$N@_Dj$N>l9g$O!"0J2<$N$h$&$K$7$F(B    $B%U%!%$%k$NG[Aw;~$N%a%b%j%^%C%T%s%0$r;HMQIT2D$K$7$F$/$@$5$$(B:</p>    <example>      EnableMMAP Off    </example>    <p>NFS $B%^%&%s%H$5$l$?%U%!%$%k$K$O!"LdBj$N$"$k%U%!%$%k$K$N$_L@<(E*$K(B    $B$3$N5!G=$r;HMQIT2D$K$7$^$9(B:</p>    <example>      &lt;Directory "/path-to-nfs-files"&gt;      <indent>        EnableMMAP Off      </indent>      &lt;/Directory&gt;    </example></usage></directivesynopsis><directivesynopsis><name>EnableSendfile</name><description>$B%U%!%$%k$N%/%i%$%"%s%H$X$NG[Aw;~$K%+!<%M%k$N(B sendfile $B%5%]!<%H$r(B$B;H$&$+$I$&$+(B</description><syntax>EnableSendfile On|Off</syntax><default>EnableSendfile On</default><contextlist><context>server config</context><context>virtual host</context><context>directory</context><context>.htaccess</context></contextlist><override>FileInfo</override><compatibility>$B%P!<%8%g%s(B 2.0.44 $B0J9_$G;HMQ2DG=(B</compatibility><usage>    <p>$B$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s$K%U%!%$%k$NFbMF$rAw$k$H$-$K(B    <code>httpd</code> $B$,%+!<%M%k$N(B    sendfile $B%5%]!<%H$r;H$&$+$I$&$+$r@)8f$7$^$9!#%G%U%)%k%H$G$O!"(B    $BNc$($P@EE*$J%U%!%$%k$NG[Aw$N$h$&$K!"%j%/%(%9%H$N=hM}$K%U%!%$%k$N(B    $BESCf$N%G!<%?$N%"%/%;%9$rI,MW$H$7$J$$$H$-$K$O!"(BApache $B$O(B OS $B$,(B    $B%5%]!<%H$7$F$$$l$P%U%!%$%k$rFI$_9~$`$3$H$J$/(B sendfile $B$r;H$C$F(B    $B%U%!%$%k$NFbMF$rAw$j$^$9!#(B</p>    <p>sendfile $B$O(B read $B$H(B send $B$rJL!9$K9T$J$&$3$H$H!"%P%C%U%!$N3d$jEv$F$r(B    $B2sHr$7$^$9!#$7$+$7!"%W%i%C%H%U%)!<%`$d%U%!%$%k%7%9%F%`$NCf$K$O(B    $B1?MQ>e$NLdBj$rHr$1$k$?$a$K$3$N5!G=$r;HMQIT2D$K$7$?J}$,NI$$>l9g$,$"$j$^$9(B:</p>    <ul>    <li>$B%W%i%C%H%U%)!<%`$NCf$K$O%S%k%I%7%9%F%`$,8!CN$G$-$J$+$C$?!"2u$l$?(B    sendfile $B$N%5%]!<%H$,B8:_$9$k$b$N$,$"$j$^$9!#$3$l$OFC$K(B    $B%P%$%J%j$,JL$N%^%7%s$G%S%k%I$5$l!"2u$l$?(B sendfile $B$N$"$k%^%7%s$K(B    $B0\F0$7$?$H$-$K5/$3$j$^$9!#(B</li>    <li>Linux $B$G$O!"(Bsendfile $B$rMQ$$$k$H!"(B    IPv6 $B;HMQ;~$KB8:_$9$kFCDj%M%C%H%o!<%/%+!<%I$N(B TCP-checksum    $B%*%U%m!<%I$N%P%0$rF'$s$G$7$^$$$^$9!#(B</li>    <li>$B%M%C%H%o!<%/%^%&%s%H$5$l$?(B <directive module="core">DocumentRoot</directive>    ($BNc$($P(B NFS $B$d(B SMB)    $B$G$O!"%+!<%M%k$O<+?H$N%-%c%C%7%e$r;H$C$F%M%C%H%o!<%/$+$i$N%U%!%$%k$r(B    $BAw$k$3$H$,$G$-$J$$$3$H$,$"$j$^$9!#(B</li>    </ul>    <p>$B$3$l$i$NLdBj$KEv$F$O$^$k%5!<%P$N@_Dj$N>l9g$O!"0J2<$N$h$&$K$7$F(B    $B$3$N5!G=$r;HMQIT2D$K$7$F$/$@$5$$(B:</p>    <example>      EnableSendfile Off    </example>    <p>NFS $B$d(B SMB $B%^%&%s%H$5$l$?%U%!%$%k$K$O!"LdBj$N$"$k%U%!%$%k$K$N$_L@<(E*$K(B    $B$3$N5!G=$r;HMQIT2D$K$7$^$9(B:</p>    <example>      &lt;Directory "/path-to-nfs-files"&gt;      <indent>        EnableSendfile Off      </indent>      &lt;/Directory&gt;    </example></usage></directivesynopsis><directivesynopsis><name>ErrorDocument</name><description>$B%(%i!<$,H/@8$7$?$H$-$K%5!<%P$,%/%i%$%"%s%H$KAw$k$b$N(B</description><syntax>ErrorDocument <var>error-code document</var></syntax><contextlist><context>server config</context><context>virtual host</context><context>directory</context><context>.htaccess</context></contextlist><override>FileInfo</override><compatibility>Apache 2.0 $B$G$O%F%-%9%H$r%/%&%)!<%H$9$k9=J8$,0JA0$N%P!<%8%g%s$+$i(B$BJQ$o$C$F$$$^$9!#(B</compatibility><usage>    <p>$BLdBj$d%(%i!<$,H/@8$7$?$H$-$NF0:n$H$7$F!"(B    Apache $B$K$O0J2<$N;M$D$N$&$A0l$D$NF0:n$r@_Dj$9$k$3$H$,$G$-$^$9!#(B</p>    <ol>      <li>Apache $BI8=`$N4JC1$J%(%i!<%a%C%;!<%8$rI=<((B</li>      <li>$B<+J,$G;XDj$7$?%a%C%;!<%8$rI=<((B</li>      <li>$BLdBj$d%(%i!<$N=hM}$r$9$k0Y$K!"<+%5!<%PFb$N(B      <var>URL-path</var> $B$X%j%@%$%l%/%H(B</li>      <li>$BLdBj$d%(%i!<$N=hM}$r$9$k0Y$K!"30It$N(B <var>URL</var> $B$X%j%@%$%l%/%H(B</li>    </ol>    <p>$B:G=i$N$b$N$,%G%U%)%k%H$NF0:n$G!"(B2 $BHVL\$+$i(B 4 $BHVL\$O!"(B    <directive>ErrorDocument</directive>$B%G%#%l%/%F%#%V$K$h$j!"(B    HTTP $B$N%l%9%]%s%9%3!<%I$H!"%a%C%;!<%8$+(B URL $B$r;XDj$9$k$3$H$G@_Dj$7$^$9!#(B    Apache $B$,LdBj$b$7$/$O%(%i!<$K4X$9$kDI2C>pJs$rDs6!$9$k$3$H$,$"$j$^$9!#(B</p>    <p>URL $B$N>l9g$O!"%m!<%+%k$N(B URL $B$N;XDj$H$7$F%9%i%C%7%e$G;O$^$k(B (/) $B%Q%9$+!"(B    $B%/%i%$%"%s%H$,2r<a$G$-$k%U%k(B URL $B$r;XDj$7$^$9!#(B<br />    $B$b$7$/$O!"%V%i%&%6$KI=<($5$l$k%a%C%;!<%8$r;XDj$G$-$^$9!#(B    $BNc(B:</p>    <example>      ErrorDocument 500 http://foo.example.com/cgi-bin/tester<br />      ErrorDocument 404 /cgi-bin/bad_urls.pl<br />      ErrorDocument 401 /subscription_info.html<br />      ErrorDocument 403 "Sorry can't allow you access today"    </example>    <p>$B2C$($F!"FCJL$JCM(B <code>default</code> $B$r;H$C$F(B Apache $B$K(B    $B%O!<%I%3!<%I$5$l$F$$$k4JC1$J%a%C%;!<%8$r;XDj$9$k$3$H$,$G$-$^$9!#(B    $BDL>o$OI,MW$G$O$"$j$^$;$s$,!"(B<code>default</code> $B$r;H$&$H(B    $B4{B8$N(B <directive>ErrorDocument</directive> $B%G%#%l%/%F%#%V$N@_Dj$r(B    $B7Q>5$9$k$H$3$m$G!"(BApache $B$N%O!<%I%3!<%I$5$l$?4JC1$J%a%C%;!<%8$K(B    $BLa$9$3$H$,$G$-$^$9!#(B</p>    <example>      ErrorDocument 404 /cgi-bin/bad_urls.pl<br /><br />      &lt;Directory /web/docs&gt;<br />      <indent>        ErrorDocument 404 default<br />      </indent>      &lt;/Directory&gt;    </example>    <p>$B%j%b!<%H(B URL ($BNc$($P!"F,$K(B <code>http</code> $B$HIUM?$7$?J}K!(B) $B$r(B    <directive>ErrorDocument</directive> $B$K;XDj$9$k$H$-!"(B    $B$?$H$(J8=q$,F1$8%5!<%P$K$"$m$&$H$b!"%I%-%e%a%s%H$,$I$3$K$"$k$+$rDLCN$9$k$?$a$K!"(B

⌨️ 快捷键说明

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