RemoteIpValve (Apache Tomcat 6.0.53 API Documentation)

  • 来源:本站
  • 发布时间:2019-08-13
  • 85已阅读
您现在的位置:首页 >> 现代文学 >> 文章
简介 Configurationparameters:RemoteIpValvepropertyDescriptionEquivalentmod_remoteipdirectiveFormatDef


RemoteIpValve (Apache Tomcat 6.0.53 API Documentation)

Configurationparameters:RemoteIpValvepropertyDescriptionEquivalentmod_remoteipdirectiveFormatDefaultValueremoteIpHeaderNameoftheHttpHeaderreadbythisvalvethatholdsthelistoftraversedIPaddressesstartingfromtherequestingclientRemoteIPHeaderComplianthttpheader,theywillbetrustedandwillnotappearintheproxiesHeadervalueRemoteIPInternalProxyCommadelimitedlistofregularexpressions(inthesyntaxsupportedbythePatternlibrary)10\.\d{1,3}\.\d{1,3}\.\d{1,3},192\.168\.\d{1,3}\.\d{1,3},169\.254\.\d{1,3}\.\d{1,3},127\.\d{1,3}\.\d{1,3}\.\d{1,3}Notethatthiscomma-separatedregularexpressionisusedbydefaultbutcannotbespecifiedinthesamewaythroughString-basedconfiguration,asthecommasinthe"\d{1,3}""\d{1,3}"patterncanbereplacedby"\d\d\d"ormoresimplyby"\d+".Bydefault,10/8,/16,/16and127/8areallowed;/12hasnotbeenenabledbydefaultbecauseitiscomplextodescribewithregularexpressions。