📄 sections.xml.ja
字号:
<p>regex $B%;%/%7%g%s$r;HMQ$9$k$3$H$G!"2hA|%U%!%$%k$NB?$/$N%?%$%W$KBP$9$k(B$B%"%/%;%9$r0lEY$K5qH]$G$-$^$9!#(B</p><example><FilesMatch \.(?i:gif|jpe?g|png)$><br />Order allow,deny<br />Deny from all<br /></FilesMatch></example></section><section id="whichwhen"><title>$B$$$D2?$r;H$&$+(B</title><p>$B%U%!%$%k%7%9%F%`%3%s%F%J$H%&%'%V6u4V%3%s%F%J$r;H$$J,$1$k$N$O!"(B$B<B:]$K$OHs>o$K4JC1$G$9!#%U%!%$%k%7%9%F%`$K0MB8$9$k(B$B%*%V%8%'%/%H$K%G%#%l%/%F%#%V$rE,1~$9$k>l9g$O!"I,$:(B<directive type="section" module="core">Directory</directive> $B$+(B<directive type="section" module="core">Files</directive>$B$r;HMQ$7$^$9!#%U%!%$%k%7%9%F%`$K0MB8$7$J$$%*%V%8%'%/%H(B($B%G!<%?%Y!<%9$+$i@8@.$5$l$k%&%'%V%Z!<%8$J$I(B) $B$K%G%#%l%/%F%#%V$rE,MQ$9$k:]$K$O!"(B<directive type="section" module="core">Location</directive>$B$r;HMQ$7$^$9!#(B</p><p>$B%U%!%$%k%7%9%F%`>e$N%*%V%8%'%/%H$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"(B<directive type="section" module="core">Location</directive>$B$r7h$7$F;HMQ$J$$$h$&$K$7$^$7$g$&!#(B$BF10l$N%U%!%$%k%7%9%F%`0LCV$K%^%C%W$7$F$$$k!"%&%'%V6u4V0LCV(B (URL)$B$,B??t$"$C$F!"@_Dj$7$?@)8B$r1*2s$5$l$F$7$^$&$+$b$7$l$J$$$+$i$G$9!#(B$BNc$($P<!$N@_Dj$r9M$($F$_$^$7$g$&!#(B</p><example><Location /dir/><br />Order allow,deny<br />Deny from all<br /></Location></example><p><code>http://yoursite.example.com/dir/</code>$B$X$N%j%/%(%9%H$G$O>e<j$/F0:n$7$^$9!#$7$+$7BgJ8;z>.J8;z$r6hJL$7$J$$(B$B%U%!%$%k%7%9%F%`$r;H$C$F$$$?$i$I$&$J$k$G$7$g$&(B?<code>http://yoursite.example.com/DIR/</code> $B$X$N%j%/%(%9%H$G4JC1$K%"%/%;%9@)8B$r1*2s$5$l$F$7$^$$$^$9!#$3$l$KBP$7$F(B<directive type="section" module="core">Directory</directive>$B%G%#%l%/%F%#%V$r;HMQ$9$k$H!"$I$N$h$&$K8F$S=P$5$l$?$+$K4X$o$i$:(B$B$=$N>l=j$+$iDs6!$5$l$kFbMF$KE,MQ$5$l$^$9!#(B($BNc30$O%U%!%$%k%7%9%F%`$N%j%s%/$G$9!#%7%s%\%j%C%/%j%s%/$r;H$C$F!"(B$BF10l$N%G%#%l%/%H%j$rJ#?t$N%U%!%$%k%7%9%F%`$K@_CV$G$-$^$9!#(B<directive type="section" module="core">Directory</directive>$B%G%#%l%/%F%#%V$O%Q%9L>$r%j%;%C%H$9$k$3$H$J$/%7%s%\%j%C%/%j%s%/$r(B$BC)$j$^$9!#$G$9$+$i!"9bEY$J%;%-%e%j%F%#$,MW5a$5$l$k>l9g$O!"(B$BE,@Z$K(B <directive module="core">Options</directive> $B%G%#%l%/%F%#%V$r;HMQ$7$F%7%s%\%j%C%/%j%s%/$rL58z$K$9$k$Y$-$G$9!#(B)</p><p>$BBgJ8;z>.J8;z$r6hJL$9$k%U%!%$%k%7%9%F%`$r;HMQ$7$F$$$k$+$i>e5-$N$3$H$O(B$BL54X78$@$H;W$o$l$k$+$b$7$l$^$;$s$,!"(B$BF10l$N%U%!%$%k%7%9%F%`0LCV$KJ#?t$N%&%'%V6u4V0LCV$r%^%C%W$9$kJ}K!$O!"(B$BB>$K$$$/$i$G$b$"$k$H$$$&$3$H$r3P$($F$$$F$/$@$5$$!#(B$B$G$9$+$i$G$-$k8B$j%U%!%$%k%7%9%F%`%3%s%F%J$r;HMQ$7$F$/$@$5$$!#(B$B$7$+$7$J$,$i0l$D$@$1Nc30$,$"$j$^$9!#(B<code><Location /></code> $B%;%/%7%g%s$O$I$s$J(B URL $B$K$b4X$o$i$:E,MQ$5$l$k$N$G!"40A4$K0BA4$G$9!#(B</p></section></section><section id="virtualhost"><title>$B%P!<%A%c%k%[%9%H(B</title><p><directive type="section" module="core">VirtualHost</directive>$B%3%s%F%J$OFCDj$N%[%9%H$KE,MQ$9$k%G%#%l%/%F%#%V$r3JG<$7$^$9!#(B$B0lBf$N%^%7%s$GJ#?t$N%[%9%H$r0[$J$k@_Dj$GDs6!$7$?$$$H$-$KM-MQ$G$9!#(B$B>\:Y$K4X$7$F$O(B<a href="vhosts/">$B%P!<%A%c%k%[%9%H%I%-%e%a%s%H(B</a>$B$r(B$B$4Mw2<$5$$!#(B</p></section><section id="proxy"><title>$B%W%m%/%7(B</title><p><directive type="section" module="mod_proxy">Proxy</directive>$B$H(B <directive type="section" module="mod_proxy">ProxyMatch</directive>$B%3%s%F%J$O!"FCDj$N(B URL $B$K%^%C%A$9$k(B <module>mod_proxy</module>$B%W%m%/%7%5!<%P$r7PM3$7$F%"%/%;%9$7$?%5%$%H$KBP$7$F$N$_E,MQ$5$l$k(B$B@_Dj%G%#%l%/%F%#%V$r3JG<$7$^$9!#Nc$($P<!$N@_Dj$O!"(B<code>cnn.com</code> $B%&%'%V%5%$%H$K%"%/%;%9$9$k$?$a$KMQ$$$i$l$k%W%m%/%7%5!<%P$r(B$B@)8B$7$^$9!#(B</p><example><Proxy http://cnn.com/*><br />Order allow,deny<br />Deny from all<br /></Proxy></example></section><section id="whatwhere"><title>$B$I$N%G%#%l%/%F%#%V$,;H$($k$N(B?</title><p>$B$I$N%?%$%W$N@_Dj%;%/%7%g%s$G$I$N%G%#%l%/%F%#%V$,;HMQ$G$-$k$+$O!"(B$B%G%#%l%/%F%#%V$N(B <a href="mod/directive-dict.html#Context">Context</a>$B$r8+$F$/$@$5$$!#(B<directive type="section" module="core">Directory</directive>$B$G;HMQ2DG=$J$b$N$OA4$F!"F1MM$K(B<directive type="section" module="core">DirectoryMatch</directive>,<directive type="section" module="core">Files</directive>,<directive type="section" module="core">FilesMatch</directive>,<directive type="section" module="core">Location</directive>,<directive type="section" module="core">LocationMatch</directive>,<directive type="section" module="mod_proxy">Proxy</directive>,<directive type="section" module="mod_proxy">ProxyMatch</directive>$B%;%/%7%g%s$G;HMQ2DG=$G$9!#$7$+$7$J$,$i4v$D$+Nc30$bB8:_$7$^$9!#(B</p><ul><li><directive module="core">AllowOverride</directive> $B%G%#%l%/%F%#%V$O(B<directive type="section" module="core">Directory</directive>$B%;%/%7%g%s$G$N$_;HMQ2DG=$G$9!#(B</li><li><code>FollowSymLinks</code> $B$H(B <code>SymLinksIfOwnerMatch</code> $B$N(B<directive module="core">Options</directive> $B$O!"(B<directive type="section" module="core">Directory</directive>$B%;%/%7%g%s$+(B <code>.htaccess</code> $B%U%!%$%k$G$N$_;HMQ2DG=$G$9!#(B</li><li><directive module="core">Options</directive> $B%G%#%l%/%F%#%V$O!"(B<directive type="section" module="core">Files</directive>$B$H(B <directive type="section" module="core">FilesMatch</directive>$B%;%/%7%g%s$G$O;HMQ$G$-$^$;$s!#(B</li></ul></section><section id="mergin"><title>$B%;%/%7%g%s$N%^!<%8J}K!(B</title> <p>$B%^!<%8$N=gHV$O0J2<$N$h$&$K$J$C$F$$$^$9(B:</p> <ol> <li><directive type="section" module="core">Directory</directive> ($B@55,I=8=L5$7(B) $B$H(B <code>.htaccess</code> $B$rF1;~$K(B (<code>.htaccess</code> $B$,5v2D$5$l$F$$$l$P!"$=$l$,(B <directive type="section" module="core">Directory</directive> $B$r>e=q$-$7$^$9(B) </li> <li><directive type="section" module="core">DirectoryMatch</directive> ($B$H(B <code><Directory ~></code></li> <li><directive type="section" module="core">Files</directive> $B$H(B <directive type="section" module="core">FilesMatch</directive> $B$rF1;~$K(B</li> <li><directive type="section" module="core">Location</directive> $B$H(B <directive type="section" module="core">LocationMatch</directive> $B$rF1;~$K(B</li> </ol> <p><directive type="section" module="core">Directory</directive> $B0J30$O!"$=$l$>$l$N%0%k!<%W$O@_Dj%U%!%$%k$K8=$l$?=gHV$K=hM}$5$l$^$9!#(B <directive type="section" module="core">Directory</directive> ($B>e$N%0%k!<%W(B 1) $B$O%G%#%l%/%H%j$,C;$$$b$N$+$iD9$$$b$N$X$H=hM}$5$l$^$9!#$G$9$+$i!"(B $BNc$($P(B <code><Directory /var/web/dir1></code> $B$O(B <code><Directory /var/web/dir/subdir></code> $B$NA0$K=hM}$5$l$^$9!#J#?t$N(B <directive type="section" module="core">Directory</directive> $B%;%/%7%g%s$,(B $BF1$8%G%#%l%/%H%j$K(B $BE,MQ$5$l$k>l9g$O!"@_Dj%U%!%$%kCf$N=gHV$K=>$C$F=hM}$5$l$^$9!#(B <directive module="core">Include</directive> $B$K$h$C$FA^F~$5$l$?@_Dj$O(B $BA^F~$7$F$$$k%U%!%$%k$N(B <directive module="core">Include</directive> $B%G%#%l%/%F%#%V$N0LCV$K$"$C$?$+$N$h$&$K07$o$l$^$9!#(B</p> <p><directive type="section" module="core">VirtualHost</directive> $B%;%/%7%g%sCf$N%;%/%7%g%s$O(B $B%P!<%A%c%k%[%9%H$NDj5A$N30B&$NBP1~$9$k%;%/%7%g%s$N(B <em>$B8e(B</em>$B$KE,MQ$5$l$^$9!#$3$l$K$h$j%P!<%A%c%k%[%9%H$,(B $B%a%$%s$N%5!<%P@_Dj$r>e=q$-$G$-$k$h$&$J$j$^$9!#(B</p> <p>$B8e$N%;%/%7%g%s$N%G%#%l%/%F%#%V$,A0$N%;%/%7%g%s$N$b$N$r>e=q$-$7$^$9!#(B</p><note><title>$B5;=Q%a%b(B</title> $B<B:]$K$O!"L>A0$rJQ49$9$kCJ3,(B (URL $B$r%U%!%$%kL>$K%^%C%W$9$k$?$a$K(B <code>Alias</code> $B$d(B <code>DocumentRoot</code> $B$,;HMQ$5$l$k$H$3$m(B) $B$ND>A0$K(B <directive type="section" module="core">Location</directive>/<directive type="section" module="core">LocationMatch</directive> $B$,9T$J$o$l$^$9!#(B $B$3$l$i$rE,MQ$7$?7k2L$OJQ49$,=*$o$C$?8e$K40A4$K<N$F$i$l$^$9!#(B</note><section id="merge-examples"><title>$BNc(B</title><p>$B<!$O%^!<%8$N=gHV$r<($9$?$a$NWs0UE*$JNc$K$J$C$F$$$^$9!#(B$B%j%/%(%9%HA4$F$KE,MQ$5$l$k$H$7$F!"K\Nc$N%G%#%l%/%F%#%V$O(BA > B > C > D > E $B$N=gHV$KE,MQ$5$l$^$9!#(B</p><example><Location /><br />E<br /></Location><br /><br /><Files f.html><br />D<br /></Files><br /><br /><VirtualHost *><br /><Directory /a/b><br />B<br /></Directory><br /></VirtualHost><br /><br /><DirectoryMatch "^.*b$"><br />C<br /></DirectoryMatch><br /><br /><Directory /a/b><br />A<br /></Directory><br /><br /></example><p>$B$b$C$H6qBNE*$J!"<!$NNc$r9M$($F$_$^$7$g$&!#(B<directive module="core" type="section">Directory</directive> $B%;%/%7%g%s$K@_CV$5$l$?%"%/%;%9@)8B$K4X$o$i$:!"(B<directive module="core" type="section">Location</directive>$B%;%/%7%g%s$,:G8e$KI>2A$5$l$F!"%5!<%P$X$N%"%/%;%9$O@)8B$5$l$^$;$s!#(B$B8@$$49$($l$P!"%^!<%8$N=gHV$O=EMW$G!"Cm0U$7$F;HMQ$7$F$/$@$5$$(B!</p><example><Location /><br />Order deny,allow<br />Allow from all<br /></Location><br /><br /># Woops! This <Directory> section will have no effect<br /><Directory /><br />Order allow,deny<br />Allow from all<br />Deny from badguy.example.com<br /></Directory></example></section></section></manualpage>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -