2011-12-05 06:22:10 -05:00
|
|
|
$OpenBSD: patch-conf_server_xml,v 1.2 2011/12/05 11:22:10 dcoppa Exp $
|
|
|
|
--- conf/server.xml.orig Mon Dec 5 11:46:20 2011
|
|
|
|
+++ conf/server.xml Mon Dec 5 11:48:53 2011
|
2011-10-31 04:23:38 -04:00
|
|
|
@@ -67,12 +67,12 @@
|
|
|
|
APR (HTTP/AJP) Connector: /docs/apr.html
|
|
|
|
Define a non-SSL HTTP/1.1 Connector on port 8080
|
|
|
|
-->
|
2011-12-05 06:22:10 -05:00
|
|
|
- <Connector port="8080" protocol="HTTP/1.1"
|
|
|
|
+ <Connector address="0.0.0.0" port="8080" protocol="HTTP/1.1"
|
|
|
|
connectionTimeout="20000"
|
2011-10-31 04:23:38 -04:00
|
|
|
redirectPort="8443" />
|
|
|
|
<!-- A "Connector" using the shared thread pool-->
|
|
|
|
<!--
|
|
|
|
- <Connector executor="tomcatThreadPool"
|
|
|
|
+ <Connector executor="tomcatThreadPool" address="0.0.0.0"
|
2011-12-05 06:22:10 -05:00
|
|
|
port="8080" protocol="HTTP/1.1"
|
|
|
|
connectionTimeout="20000"
|
2011-10-31 04:23:38 -04:00
|
|
|
redirectPort="8443" />
|
|
|
|
@@ -82,13 +82,13 @@
|
|
|
|
connector should be using the OpenSSL style configuration
|
|
|
|
described in the APR documentation -->
|
|
|
|
<!--
|
|
|
|
- <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
|
|
|
|
+ <Connector address="0.0.0.0" port="8443" protocol="HTTP/1.1" SSLEnabled="true"
|
|
|
|
maxThreads="150" scheme="https" secure="true"
|
|
|
|
clientAuth="false" sslProtocol="TLS" />
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- Define an AJP 1.3 Connector on port 8009 -->
|
|
|
|
- <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
|
|
|
|
+ <Connector address="0.0.0.0" port="8009" protocol="AJP/1.3" redirectPort="8443" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- An Engine represents the entry point (within Catalina) that processes
|
|
|
|
@@ -120,7 +120,7 @@
|
|
|
|
resourceName="UserDatabase"/>
|
|
|
|
</Realm>
|
|
|
|
|
|
|
|
- <Host name="localhost" appBase="webapps"
|
|
|
|
+ <Host name="localhost" appBase="${CATALINA_BASE}/webapps"
|
|
|
|
unpackWARs="true" autoDeploy="true">
|
|
|
|
|
|
|
|
<!-- SingleSignOn valve, share authentication between web applications
|