开发者

Tomcat request forwarding via service/connector

开发者 https://www.devze.com 2023-03-11 23:00 出处:网络
i\'m looking for a way to forward requests. I want to set the filtering rules (by URI) in my service (conf/server.xml). Is that possible? Here my example service:

i'm looking for a way to forward requests. I want to set the filtering rules (by URI) in my service (conf/server.xml). Is that possible? Here my example service:

<Service name="indexbuilder">
    <Connector acceptCount="100" connectionTimeout="20000"
        disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192"
        maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8282"
        redirectPort="8443" /开发者_StackOverflow中文版>
    <Engine defaultHost="localhost" name="indexbuilder">
        <Host autoDeploy="true" name="localhost" unpackWARs="true"
            xmlNamespaceAware="false" xmlValidation="false" appBase="indexbuilder">
        </Host>
    </Engine>
</Service>
0

精彩评论

暂无评论...
验证码 换一张
取 消