. : http://itpm.msu.su/manual/ja/env.html
: Sat Feb 5 01:50:17 2005
: Mon Oct 1 19:57:51 2012
: Windows-1251

:
Apache ??-? - Apache HTTP ????<b style="color:black;background-color:#6666ff"></b>
<-
Apache > HTTP ???? > ??-????????? > ?????? 2.0

Apache ??-?

Available Languages:  en  |  ja  |  ko 

This translation may be out of date. Check the English version for recent changes.

Apache HTTP ??????-?????????????? ????-?+???'?????????????????????? ?????'?????????????????????'???????-????? ??????? CGI ??????????????????R???????? '??????????????????????'????????' ????????

????????-???????????????????????? ????????????????-??+????????'??? ???????????? Apache ??????-?+??????????????? ???????CGI ? SSI ??????????????-??+????? ??????????????????-??????????????'?? ??????????????????????????-???????????? ??????????????????????????????-?? ???'???+??????'???

top

?-??

????-??

Apache ???????-???????????? ???-????? SetEnv ???????????'??????????? PassEnv ???????????????Apache ??Ɯ???????? ?-??????????-?????

??????????????????

???-??????????mod_setenvif ???????????????????'????????????????? -???????-???????????-?????????????? (User-Agent) ?????????? Referer [???????] (: ????? referrer ??????HTTP ?'?? Referer ?????????) ????'??'?????-?????????????-????? mod_rewrite ? RewriteRule ?????????????????-????? [E=...] ???????'????????? ??????????????-?????

??+'

mod_unique_id ?????????????? ??????????????????????????????????????-? UNIQUE_ID ???????

? CGI ?

Apache ?????????????-??????'???? ?-???????CGI ???????? SSI ?????? CGI ?'????????? ?????????????'????-???????????

??????'?

top

?-??'

CGI ???????

?-??????Μ????CGI ???????????????????? ?????????????CGI ????????????-?? Apache ??????????????????????????????????????? ??? CGI ????????? ?'????????????

SSI ????

mod_include ? INCLUDES ??????????? server-parsed (SSI) ??-????????echo ?'?????-?????????? ?????????????ʃ?????????-??+???????????? ?-???????'???????-???????? SSI ????????? ?'????????????

?????'??

allow from env= ??????????? deny from env= ???????????'???????????????'????-????????????-????? SetEnvIf ???????????????'?????????????????-?????? ???????????'??????????????-??????????? ???????????????????????'????????? (User-Agent) ?'???????'????????????-?????

??-??-?

LogFormat ????????????????? %e ?'??????????-???????'?????-??????????-?????????? CustomLog ????????????ʃ???'????????? ?-?????????????????-?????'???'?????????-????? SetEnvIf ???????????????'??????? ?????????????-?????'??????????????????????????? gif ?????????????????????????-??????? ?????????????????'???????????+????-?????? ?????????????

??-+???

Header ????????????-????????????????????+?? HTTP ?????+??'???'?????????-????? ?????????????????????????'????????? ?????????????????+?????????????????? ??-?????

????????Ń

ExtFilterDefine ???????????'?? mod_ext_filter ?????????????? disableenv= ? enableenv= ???????'?????-??????-Ń???-?????

URL ???-???

RewriteCond ?????????????'??? %{ENV:...} ??'?????????mod_rewrite ???-?????????-???????ʃ???????????-????? mod_rewrite ?'????? ENV: ??????????????? ????-???????????????????????? ??????????????'??'??-??? mod_rewrite ????????

top

????-?

??-????????????????????????R???????-? Apache ?Ɯ??????-????????????????-???+??????????? ??????????-????????????????????? BrowserMatch ???????????'????????????? SetEnv ??????????? PassEnv ???????????'?????????-?????

downgrade-1.0

????'????????????????? HTTP/1.0 ???????????????????HTTP/1.0 ???Ɯ???????

force-no-vary

+?????????????????? Vary ????????????-????? ????????????????????????????????????????? (???????????? ??????'??????????)??????????????????? ?????????-????????????????force-response-1.0 ????????????????

force-response-1.0

?????????????HTTP/1.0 ?????????????????????????? ?? HTTP/1.0 ?+????????????????????? ??? AOL ????-????????????????HTTP/1.0 ?????????????? HTTP/1.1 ?+????????Ɯ????????????'?????'??? ??????'??????????????????????????????-????-?????

gzip-only-text/html

???? 1 ???????????? text/html ???????????????????mod_deflate ?? DEFLATE ???????????????

no-gzip

?'????????mod_deflate ? DEFLATE ??????????????????

nokeepalive

???????????????KeepAlive ?'?????????????

prefer-language

mod_negotiation ?Ɯ?+???????? (en, ja, x-klingon??????) ??????????????????? variant ??R?????????? ?????? variant ????????? ?????????????? Ń???????

redirect-carefully

?????????????????????????R???????????? ???????????? ????????????????????????????? ????????ʃ?'????????'???????????????? ???????????????????????? DAV ???????????????????????????????????Μ??? ?????????????????????????

suppress-error-charset

Apache 2.0.40 ????

?????????????????????+?????????????R?????? ???????????????????'Ɯ???????? (???????) ??????????-???????????? ????????-?????????-???????'????ISO-8859-1 ?????+???????

??'?????????????'?'???'????????? ?????????????????????? ????????????'?'???????? ?????????'?'???'????????????????? ???Ξ??????????????????????????????????

????-???????????????????????-??????? ?-???????'???'???????????????????????? ?????????'?'??????'??????-?????

top

???'??Ɯ???????????????????????Ɯ???????

???????????????????????????????? httpd.conf ??????????????????

#
# 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" nokeepalive
BrowserMatch "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.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

????????????????'?????-?????

???????????????????????'??????????????????? ????????????????????????????????????? ??????'????????????????????????????+???-?????

SetEnvIf Request_URI \.gif image-request
SetEnvIf Request_URI \.jpg image-request
SetEnvIf Request_URI \.png image-request
CustomLog logs/access_log common env=!image-request

??????

??????????????????????????????????? inline ????'????????R????? ???????????????????'??????????????-????? ??????????????? /web/images ?????????????????????????

SetEnvIf Referer "^http://www.example.com/" local_referal
# Allow browsers that do not send Referer info
SetEnvIf Referer "^$" local_referal
<Directory /web/images>
   Order Deny,Allow
   Deny from all
   Allow from env=local_referal
</Directory>

???????????????? ApacheToday ???????????Keeping Your Images from Adorning Other Sites ??'????????????

Available Languages:  en  |  ja  |  ko