我正在寻找一种转发请求的方法。我想在我的服务(conf/server.xml)中设置过滤规则(通过 URI)。那可能吗?这是我的示例服务:
<Service name="indexbuilder">
<Connector acceptCount="100" connectionTimeout="20000"
disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192"
maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8282"
redirectPort="8443" />
<Engine defaultHost="localhost" name="indexbuilder">
<Host autoDeploy="true" name="localhost" unpackWARs="true"
xmlNamespaceAware="false" xmlValidation="false" appBase="indexbuilder">
</Host>
</Engine>
</Service>