1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00
freebsd-ports/www/tomcat7/files/patch-conf__server.xml
Tong LIU 59a72c315c - update to 6.0.13
Approved by:	delphij (mentor)
2007-07-25 02:14:50 +00:00

39 lines
1.5 KiB
XML

--- ./conf/server.xml.orig 2007-07-24 22:33:24.134058137 +0800
+++ ./conf/server.xml 2007-07-24 22:34:42.223606359 +0800
@@ -2,7 +2,7 @@
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
-<Server port="8005" shutdown="SHUTDOWN">
+<Server port="%%SHUTDOWN_PORT%%" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
@@ -15,7 +15,7 @@
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
- <GlobalNamingResources>
+ <GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
@@ -47,7 +47,7 @@
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
- <Connector port="8080" protocol="HTTP/1.1"
+ <Connector port="%%HTTP_PORT%%" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
@@ -68,7 +68,7 @@
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
- <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
+ <Connector port="%%AJP_1_3_PORT%%" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes