-
Notifications
You must be signed in to change notification settings - Fork 0
/
webserver.xml
122 lines (121 loc) · 6.51 KB
/
webserver.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8"?>
<webserver>
<properties>
<pooled_thread_count ssl_handshaking="10" request_receiving="10" body_receiving="1" request_performing="10" response_sending="10" file_reading="10" buffer_sending="10" proxy_connecting="1" ajp_proxing="1" http_proxing="1"/>
<server_header send="true"/>
<keep_alive timeout="3s" max="1000"/>
<cache_info max_size="1m" inactive_timeout="1h">
<storage_path><![CDATA[/Users/neolord/WebServerHome/Cache]]></storage_path>
</cache_info>
</properties>
<!--
<host name="host1" domain="" ip="192.168.10.28" port="8443" default_charset="utf-8" default_allowed_method="GET, HEAD">
<root_path><![CDATA[/Users/neolord/WebServerHome/Host1]]></root_path>
<custom_media_types>
<media_type ext="crf" type="report/clipreport"/>
</custom_media_types>
<ssl_config key_alias="neokey" verify_client="no">
<key_store type="jks" password="p1a2r3k4">
<file_path><![CDATA[server.keystore.jks]]></file_path>
</key_store>
<trust_store type="jks" password="p1a2r3k4">
<file_path><![CDATA[server.truststore.jks]]></file_path>
</trust_store>
</ssl_config>
<proxy_infos>
<proxy_info balance="round_robin" applied_url_pattern="CDATA[/*.jsp">
<backend_server protocol="ajp/1.3" ip_or_domain="192.168.10.28" port="8009" keep_alive_timeout="3" idle_timeout="1800"/>
<backend_server protocol="ajp/1.3" ip_or_domain="192.168.10.28" port="8009" keep_alive_timeout="3" idle_timeout="1800"/>
<backend_server protocol="ajp/1.3" ip_or_domain="192.168.10.28" port="8009" keep_alive_timeout="3" idle_timeout="1800"/>
</proxy_info>
</proxy_infos>
</host>
-->
<host name="host2" domain="" ip="192.168.10.28" port="8070" default_host="true" default_charset="utf-8" default_allowed_method="GET, HEAD">
<root_path><![CDATA[/Users/neolord/WebServerHome/Host2]]></root_path>
<resource_setting>
<directory url="/auth">
<not_serviced_files>
<not_serviced_file name_pattern="*.aaa" inheritable="false" />
</not_serviced_files>
<filters>
<basic_authorization realm_description="This is the area of certification." username="neolord" password="1234"/>
</filters>
<virtual_directory url="kkk/aaa">
<source_path><![CDATA[/Users/neolord/WebServerHome/virtual_test]]></source_path>
</virtual_directory>
</directory>
<directory url="/">
<not_serviced_files>
<not_serviced_file name_pattern="*.bbb" inheritable="true" />
<not_serviced_file name_pattern="*.ccc" inheritable="false" />
</not_serviced_files>
<filters>
<url_redirecting rest_source_url_pattern="old/*.*" response_code="301" target_url="/redirect.html"/>
<!--
<header_adding>
<adding_condition header="Content-Length" compare_op="GreaterThan" value="500" />
<header sort="Cache-Control" value="no-cache" />
<header sort="Pragma" value="no-cache" />
</header_adding>
-->
</filters>
</directory>
<directory url="/gzip">
<filters>
<content_encoding coding="gzip"/>
</filters>
</directory>
<directory url="/charsetChange">
<filters>
<charset_encoding source_charset="utf-8" target_charset="utf-16le"/>
</filters>
</directory>
<directory url="/post">
<filters>
<allowed_method_adding methods="POST"/>
</filters>
</directory>
<directory url="/proxy/expect">
<filters>
<allowed_method_adding methods="POST"/>
<expect_checking>
<fail_condition header="Content-Length" compare_op="GreaterThan" value="50000" />
</expect_checking>
</filters>
</directory>
</resource_setting>
</host>
<host name="host3" domain="" ip="192.168.10.28" port="8090" default_charset="utf-8" default_allowed_method="GET, HEAD">
<root_path><![CDATA[/Users/neolord/WebServerHome/Host3]]></root_path>
<proxy_infos>
<proxy_info balance="round_robin" applied_url_pattern="/*.jsp" >
<backend_server protocol="ajp/1.3" ip_or_domain="192.168.10.28" port="8009" keep_alive_timeout="3s" idle_timeout="1800s" />
</proxy_info>
<proxy_info balance="round_robin" applied_url_pattern="/proxy/*.*">
<backend_server protocol="http" ip_or_domain="192.168.10.28" port="8070" keep_alive_timeout="3s" />
<cache_option use="true" default_expires="30s" />
</proxy_info>
<proxy_info balance="round_robin" applied_url_pattern="/auth/*.*">
<backend_server protocol="http" ip_or_domain="192.168.10.28" port="8070" keep_alive_timeout="3s"/>
</proxy_info>
<proxy_info balance="round_robin" applied_url_pattern="/nego/*">
<backend_server protocol="http" ip_or_domain="192.168.10.28" port="8070" keep_alive_timeout="3s"/>
</proxy_info>
</proxy_infos>
</host>
<host name="host4" domain="" ip="192.168.10.28" port="8100" default_charset="utf-8" default_allowed_method="GET, HEAD">
<root_path><![CDATA[/Users/neolord/WebServerHome/Host4]]></root_path>
<proxy_infos>
<proxy_info balance="round_robin" applied_url_pattern="/proxy/*.*">
<backend_server protocol="http" ip_or_domain="192.168.10.28" port="8090" keep_alive_timeout="3s"/>
</proxy_info>
<proxy_info balance="round_robin" applied_url_pattern="/auth/*.*">
<backend_server protocol="http" ip_or_domain="192.168.10.28" port="8090" keep_alive_timeout="3s"/>
</proxy_info>
<proxy_info balance="round_robin" applied_url_pattern="/nego/*">
<backend_server protocol="http" ip_or_domain="192.168.10.28" port="8090" keep_alive_timeout="3s"/>
</proxy_info>
</proxy_infos>
</host>
</webserver>