Skip to content

Commit ec28b94

Browse files
committed
Ajp too.
1 parent bd127ac commit ec28b94

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

tomcat/catalina_base/conf/server.xml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Server port="8004" shutdown="SHUTDOWN" >
22
<Service name="Catalina">
33

4-
54
<Connector port="8080"
65
protocol="HTTP/1.1"
76
connectionTimeout="${TOMCAT_CONNECTION_TIMEOUT}"
@@ -18,34 +17,25 @@
1817
allowBackslash="false"
1918
/>
2019

20+
<Connector protocol="AJP/1.3"
21+
port="8009"
22+
redirectPort="8443"
23+
maxParameterCount="1000"
24+
/>
25+
2126
<Engine name="Catalina" defaultHost="localhost" >
2227
<Valve
2328
className="org.apache.catalina.valves.AccessLogValve"
2429
directory="logs" prefix="catalina_access_log" suffix=".txt"
2530
pattern='%h %S %l %u %t "%r" %s %b' />
26-
27-
<!--
28-
To test virtual hosts.
29-
<Host
30-
name="cj.localhost"
31-
debug="1"
32-
appBase="webapps"
33-
unpackWARs="false"
34-
autoDeploy="false">
35-
</Host>
36-
-->
3731
<Host
3832
xmlValidation="false"
3933
xmlNamespaceAware="false"
4034
name="localhost"
4135
appBase="webapps"
4236
unpackWARs="false"
4337
autoDeploy="false">
44-
<!--
45-
<Listener className="org.apache.catalina.startup.UserConfig"
46-
directoryName="public_html"
47-
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>
48-
-->
38+
4939
</Host>
5040
</Engine>
5141
</Service>

0 commit comments

Comments
 (0)