📄 env.xml.ja
字号:
HTTP $B%X%C%@$rIU$1$k$+$I$&$+$r7h$a$k$3$H$,$G$-$^$9!#(B $B$3$l$K$h$j!"$?$H$($P!"%/%i%$%"%s%H$+$i$N%j%/%(%9%H(B $B$K$"$k%X%C%@$,$"$k>l9g$K$N$_FCDj$N1~Ez%X%C%@$rAw$k!"$H$$$&$h$&$J$3$H$,(B $B$G$-$^$9!#(B</p> </section> <section id="external-filter"> <title>$B30It%U%#%k%?$NE,MQ(B</title> <p><directive module="mod_ext_filter">ExtFilterDefine</directive> $B%G%#%l%/%F%#%V$r;HMQ$7$F(B <module>mod_ext_filter</module> $B$G@_Dj$5$l$k30It%U%#%k%?$O!"(B <code>disableenv=</code> $B$H(B <code>enableenv=</code> $B%*%W%7%g%s$r;H$C$F!"4D6-JQ?t$K$h$k>r7oIU$-E,MQ$,$G$-$^$9!#(B</p> </section> <section id="url-rewriting"> <title>URL $B$N=q$-49$((B</title> <p><directive module="mod_rewrite">RewriteCond</directive> $B%G%#%l%/%F%#%V$G(B<em>$BI>2AJ8;zNs(B</em>$B$H$7$F(B <code>%{ENV:...}</code> $B<0$r;XDj$9$k$3$H$G!"(Bmod_rewrite $B$N=q$-49$(%(%s%8%s$,4D6-JQ?t$K4p$$$F>r7oJ,4t$r9T$J$&$3$H$,$G$-$^$9!#(B mod_rewrite $B$,;HMQ2DG=$JJQ?t$G(B <code>ENV:</code> $B$,A0$K$D$$$F$$$J$$JQ?t$O!"(B $B<B:]$O4D6-JQ?t$G$O$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B $B$=$l$i$OB>$N%b%8%e!<%k$+$i$O;HMQ$G$-$J$$(B mod_rewrite $BMQ$NFCJL$JJQ?t$G$9!#(B </p> </section> </section> <section id="special"> <title>$BFCJL$JL\E*$N4D6-JQ?t(B</title> <p>$B8_49@-$NLdBj$r2r7h$9$k$?$a$K!"FCDj$N%/%i%$%"%s%H$HDL?.$7$F$$$k$H$-$O(B Apache $B$NF0:n$rJQ99$G$-$k5!9=$,F3F~$5$l$^$7$?!#$G$-$k$@$1=@Fp$K$9$k$?$a$K!"(B $B$3$l$i$N5!9=$O4D6-JQ?t$rDj5A$9$k$3$H$G8F$S=P$5$l$^$9!#IaDL$O!"(B <directive module="mod_setenvif">BrowserMatch</directive> $B%G%#%l%/%F%#%V$r;H$$$^$9$,!"$?$H$($P(B <directive module="mod_env" >SetEnv</directive> $B%G%#%l%/%F%#%V$d(B <directive module="mod_env" >PassEnv</directive> $B%G%#%l%/%F%#%V$b;HMQ$9$k$3$H$,$G$-$^$9!#(B</p> <section id="downgrade"> <title>downgrade-1.0</title> <p>$B$3$l$r;XDj$9$k$3$H$G!"%j%/%(%9%H$,(B HTTP/1.0 $B$h$j?7$7$$%W%m%H%3%k$N>l9g$G$b!"(BHTTP/1.0 $B$H$7$F07$o$l$^$9!#(B</p> </section> <section id="force-no-vary"> <title>force-no-vary</title> <p>$B1~Ez%X%C%@$,%/%i%$%"%s%H$KAw$i$l$kA0$K(B <code>Vary</code> $B%U%#!<%k%I$r<h$j=|$-$^$9!#(B $B%/%i%$%"%s%H$NCf$K$O$3$N%U%#!<%k%I$r@5$7$/2r<a$7$J$$$b$N$,$"$j$^$9(B (<a href="misc/known_client_problems.html">$B%/%i%$%"%s%H$N4{CN$NLdBj(B</a> $B$N%Z!<%8$r;2>H$7$F$/$@$5$$(B)$B!#$3$NJQ?t$r@_Dj$9$k$3$H$G$=$NLdBj$r2sHr(B $B$9$k$3$H$,$G$-$^$9!#$3$NJQ?t$r@_Dj$9$k$H!"(B<strong>force-response-1.0</strong> $B$,@_Dj$5$l$?$3$H$K$J$j$^$9!#(B</p> </section> <section id="force-response"> <title>force-response-1.0</title> <p>$B$3$l$,@_Dj$5$l$F$$$k$H!"(BHTTP/1.0 $B%j%/%(%9%H$rH/9T$9$k%/%i%$%"%s%H$KBP$7$F$O(B $B>o$K(B HTTP/1.0 $B$G1~Ez$9$k$h$&$K$J$j$^$9!#$3$N5!G=$O!"(B $B85!9$O(B AOL $B$N%W%m%-%7$NLdBj$N$?$a$K<BAu$5$l$^$7$?!#(BHTTP/1.0 $B%/%i%$%"%s%H$NCf$K$O!"(B HTTP/1.1 $B$N1~Ez$rJV$5$l$k$H@5$7$/F0:n$7$J$$$b$N$,$"$k$+$b$7$l$^$;$s!#(B $B$3$N5!G=$r;HMQ$9$k$3$H$G!"$=$N$h$&$J%/%i%$%"%s%H$H$N4V$N8_49@-LdBj$r2r7h$G$-$^$9!#(B</p> </section> <section id="gzip-only-text-html"> <title>gzip-only-text/html</title> <p>$B$3$l$,(B 1 $B$K@_Dj$5$l$k$H!"$3$NJQ?t$O(B <code>text/html</code> $B0J30$N%3%s%F%s%H%?%$%W$KBP$9$k!"(B<module>mod_deflate</module> $BDs6!$N(B <code>DEFLATE</code> $B=PNO%U%#%k%?$rL58z$K$7$^$9!#(B</p> </section> <section id="no-gzip"><title>no-gzip</title> <p>$B%;%C%H$5$l$k$H!"(B<module>mod_deflate</module> $B$N(B <code>DEFLATE</code> $B%U%#%k%?$,%*%U$K$J$j$^$9!#(B</p> </section> <section id="nokeepalive"> <title>nokeepalive</title> <p>$B$3$l$,@_Dj$5$l$F$$$k>l9g$O!"(B<directive module="core" >KeepAlive</directive> $B$r;HMQ$7$J$$$h$&$K$7$^$9!#(B</p> <section id="prefer-language"><title>prefer-language</title> <p><module>mod_negotiation</module> $B$N5sF0$K1F6A$rM?$($^$9!#(B (<code>en</code>, <code>ja</code>, <code>x-klingon</code>$B$H$$$C$?(B) $B8@8l%?%0$,3JG<$5$l$F$$$l$P!"$=$N8@8l$N(B variant $B$rAw?.$7$h$&$H$7$^$9!#(B $B$=$N$h$&$J(B variant $B$,$J$$>l9g$O!"(B $BDL>o$N(B<a href="content-negotiation.html">$B%M%4%7%(!<%7%g%s(B</a>$B=hM}$,(B $BE,MQ$5$l$^$9!#(B</p> </section> </section> <section id="redirect-carefully"> <title>redirect-carefully</title> <p>$B$3$l$O%/%i%$%"%s%H$X$N%j%@%$%l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%-%9%H$KBP$9$k(B $B%-%c%i%/%?%;%C%H$N;XDj$r=|5n$7$^$9$N$G!"$=$l$iLdBj$N$"$k%V%i%&%6$G$b(B $B%j%@%$%l%/%H@h$NJ8;z%;%C%H$r@5$7$/;H$&$h$&$K$G$-$^$9!#(B</p> </section> </section> <section id="examples"> <title>$BNc(B</title> <section id="misbehaving"> <title>$B$*$+$7$J5sF0$r$9$k%/%i%$%"%s%H$KBP$7$F%W%m%H%3%k$NF0:n$rJQ99$9$k(B</title> <p>$B%/%i%$%"%s%H$K4X$9$k4{CN$NLdBj$KBP=h$9$k$?$a$K!"0J2<$N9T$r(B httpd.conf $B$KF~$l$k$3$H$r?d>)$7$F$$$^$9!#(B</p><example><pre>## The following directives modify normal HTTP response behavior.# The first directive disables keepalive for Netscape 2.x and browsers that# spoof it. There are known problems with these browser implementations.# The second directive is for Microsoft Internet Explorer 4.0b2# which has a broken HTTP/1.1 implementation and does not properly# support keepalive when it is used on 301 or 302 (redirect) responses.#BrowserMatch "Mozilla/2" nokeepaliveBrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0## The following directive disables HTTP/1.1 responses to browsers which# are in violation of the HTTP/1.0 spec by not being able to grok a# basic 1.1 response.#BrowserMatch "RealPlayer 4\.0" force-response-1.0BrowserMatch "Java/1\.0" force-response-1.0BrowserMatch "JDK/1\.0" force-response-1.0</pre></example> </section> <section id="no-img-log"> <title>$B2hA|$X$N%j%/%(%9%H$r%"%/%;%9%m%0$K5-O?$7$J$$(B</title> <p>$B$3$NNc$G$O!"2hA|$X$N%j%/%(%9%H$,%"%/%;%9%m%0$K8=$l$J$$$h$&$K$7$^$9!#(B $B$3$l$rJQ99$9$k$3$H$G!"FCDj$N%G%#%l%/%H%j$N%m%0<}=8$r$d$a$?$j!"(B $BFCDj$N%[%9%H$+$i$N%j%/%(%9%H$N%m%0<}=8$r$d$a$?$j$9$k$3$H$,4JC1$K$G$-$^$9!#(B </p> <example><pre>SetEnvIf Request_URI \.gif image-requestSetEnvIf Request_URI \.jpg image-requestSetEnvIf Request_URI \.png image-requestCustomLog logs/access_log common env=!image-request</pre></example> </section> <section id="image-theft"> <title>$B!V2hA|$NEpMQ!W$rKI$0(B</title> <p>$B$3$NNc$O!"JL$N%5!<%P$K$$$k?M$,!"$"$J$?$N%5!<%P$K$"$k2hA|$r(B inline $B2hA|$H$7$F;HMQ$9$k$3$H$rKI$.$^$9!#(B $B$3$l$O?d>)$5$l$F$$$k@_Dj$G$O$"$j$^$;$s$,!"$"$k8BDj$5$l$?>u67$G$OM-8z$G$9!#(B $B$3$3$G$O!"$9$Y$F$N2hA|$O(B <code>/web/images</code> $B$H$$$&%G%#%l%/%H%j$K$"$k$H2>Dj$7$^$9!#(B</p> <example><pre>SetEnvIf Referer "^http://www.example.com/" local_referal# Allow browsers that do not send Referer infoSetEnvIf Referer "^$" local_referal<Directory /web/images> Order Deny,Allow Deny from all Allow from env=local_referal</Directory></pre></example> <p>$B$3$N<jK!$K4X$9$k>\$7$$>pJs$O(B ApacheToday $B$N%A%e!<%H%j%"%k!V(B<a href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-ps" >Keeping Your Images from Adorning Other Sites</a> $B!W$r;2>H$7$F$/$@$5$$!#(B</p> </section> </section></manualpage>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -