" alink$KbFF0000"di1b%div align="CENTER"> AdTm$Gfimg srclr:ehaHTTPlServ_tlVerli>or3Few AdTm

MpCh1>i AdTm

ThisaepCoattributfs of the request.are} ^L)p>a^(5I!Summary

%9 AdTm

The eprsetenvif">samp>aepCrogular AdTmextpsli>s (tLtyou specify. Thesemenvilarmentvaritofs can bs%9,ENusedlby oth_t parts of the serv_tltomake decili>s about AdTmacti>s tobe taken.are} ^L)p>The clnboives are consideredlin the estr they appear%in%9,ENthe configuraoBon s,ns. Somore complex sequencfs can bsused,%9,ENsuch as thisaexample, whch setsF)lsdnetscapear$B%9lif the%9,ENbrowstr isaezilla but not MSIE.are} ^L)t(a="10"BB9c?sd BrowstrMatch ^Mzilla netscaped BrowstrMatch MSIE !netscaped dhatpewa1"F]c%BabsusdiN()p>For NtixoBonal it.rmaoBon, wrtprovide a documenton <)!i(5I!EnvilarmentVaritofs in Ams n (tL.are} ^L)h2>Dlnboives%9 AdTmBrowstrMatchLna9BrowstrMatchNoCaseana9SetEnvIfana9SetEnvIfNoCaseana9F} ^L)h2>B(Blobrowstrmatch" lbs. browstrmatch">BrowstrMatch} ^LclnboiveLna9%9} ^L)p>a^(5I!none$(i>$.* [OR]rtsta^(5I!The BrowstrMatch clnboive definnsenvilarmentvaritofs%9,ENbasedlon the User-Agent$(samp>aHTTPlrequest heattr field.%9,ENThe first argumentshould bsa POSIXr2textended rogular AdTmextpsli> (simil5tltoan egrep$(samp>-style regex). Ther f }rest of the arguments give the lbss of varitofs toset,tand AdTmopoBonally values towhch they should bsset. Thesemtake the AdTm.rm ofare} ^L)orSctm5cm_samp>)varnameLn)$(samp>, e!)varnameLn)$(samp>, e)varnameLn)=)value$(l}f$(samp>In the first .rm, the valuelwill bsset to"1". Theseca7%9,ENwill remove the given varitoflif alreaty definnd,tand the AdTmthirdwill set the varitofltothe valuelgiven by%9,EN_samp>)value$(l}f$(samp>. If a User-Agent$(samp>%9,ENstrxam matchesmore than oneentry, they will bsmerged.%9,ENEntries are promaedlin the estr in whch they appear,tand AdTmlateCentrifs can ov_tride earlier ones.are} ^L)p>For example:cww6%Nus that strxam is%9,EN_secase-sensioBvs$(orlarls. For case-INsensioBvs matchxam,%9,ENsee the <)!i(5I!BrowstrMatchNoCaseansamp>The BrowstrMatch$(samp>aand AdTmBrowstrMatchNoCaseansamp> clnboives are special casesfoft$eiSetEnvIfansamp>SetEnvIfNoCaseansamp>F} ^L)h2>B(Blobrowstrmatchnocase" AdTmnbs. browstrmatchnocase">BrowstrMatchNoCaseLclnboiveLna9%9} ^L)p>a^(5I!The BrowstrMatchNoCaseansamp> clnboive is%9,ENsemantically identicalltothe <)!i(5I!BrowstrMatchansamp>The BrowstrMatch$(samp>aand AdTmBrowstrMatchNoCaseansamp> clnboives are special casesfoft$eiSetEnvIfansamp>SetEnvIfNoCaseansamp>F} ^L)h2>B(Blosetenvif"mnbs. setenvif">SetEnvIf} ^LclnboiveLna9%9} ^L)p>a^(5I!The SetEnvIfansamp> clnboive definnsenvilarment AdTmvaritofs basedl>oattributfs of the request. Thesemattributfs AdTmcan bsthe values of variousaHTTPlrequest heattr fieldsw(see <)!i(5I!RFC2616Remote_Host$(samp>a- the hostname (if avail5I!<)foft$eiRemote_Addr$(samp>a- the IP Ntipsl of the clientSctmmakxam therequestRemote_User$(samp>a- the authenticatedlusername (ifSctmavail5I!<)RequestrMethod$(samp>a- the name of the methodSctmbexam usedl(_samp>GET$(samp>, _samp>POST$(samp>, _l}fet9!<%9, ul teCa$(l}f)RequestrProtocol$(samp>a- the name and verli>ooft$eiRequestr$gIM=samp>a- the porti>oof the $g<%9,ENtrfollowxam the ss nme and host porti>Some of the more commonlyusedlrequest heattr field lbss} ^Linclude _samp>Host$(samp>, User-Agent$(samp>,aand AdTmReferer$(samp>.are} ^L)p>If the <)attributf$(l}f name doesn't match anyfof the AdTmspecial keywess,mnor anyfof thelrequest's heattr field lbss,%9,ENit is tfstedlas the name of an envilarmentvaritoflin the list9!<%9,of thosemassociatedlwithothe request. This allows!i<)lsdSetEnvIfan$B%9lclnboives totest againstExample:cww6%The first t(5Iewill set the envilarmentvaritof AdTmobjbo_is_imag%M=samp>aif thelrequest was for an imag%r f }file, and the fourth setsFsamp>intra_sioe_referralM=samp>aift$eiwww.mydomain.comM=samp>aWebrsioe.cww6%1b]hr [OReF!-- the HR isapart of the clnboive descriptBon -->F} ^L)h2>B(Blosetenvifnocase"mnbs. setenvifnocase">SetEnvIfNoCase} ^LclnboiveLna9%9} ^L)p>a^(5I!The SetEnvIfNoCaseansamp> issemantically identicalltot$eiSetEnvIfansamp> eatchxam is%9,ENper.rmedlin a case-insensioBvs manner. For example:cww6%Thiswill cause the sus$(samp> envilarmentvaritof AdTmtobe set to"ams n (samp>"aif thelHTTPlrequest heattrr f }field _samp>Host:$(samp> was includestand contained AdTmAms n.Org$(samp>, ams n.org$(samp>, e anyfoth_t AdTmcombinaoBon.cww6%1b5hr [OR AdTm

lr:ehaHTTPlServ_tlVerli>or3IndexHome="1.0" en$Bxampliso-2022-jp"?9F9!DOCTYPE 5I!< PUBLIC "-//W3C//DTD XHTMLor0 TransioBonal//ENar f }"http://www.w3.org/TR/x5I!<1/DTD/x5I!<1-transioBonal.dtd"9F<5I!< xmlns="http://www.w3.org/1999/x5I!<" xml:laamplja" laamplja"tFecitofNFFe%9heateewrFF!-- English pvili>:or19 -->Fe%!-- Background whus, links blue (unvisioed), lbvy (visioed), redl(active) -->FrFF%ody%c%athnB$Kbffffff" 5IxT$Kb000000" link$Kb0000ff"ewrFvlink$Kb000080" alink$Kbff0000"di1b%div align="CENTER"> AdTm$Gfimg src