openbsd-ports/www/tomcat/v5/patches/patch-conf_server_xml

47 lines
2.0 KiB
Plaintext

$OpenBSD: patch-conf_server_xml,v 1.3 2007/12/11 23:43:03 kurt Exp $
--- conf/server.xml.orig Fri Aug 24 19:35:47 2007
+++ conf/server.xml Tue Dec 11 08:44:27 2007
@@ -91,7 +91,7 @@
-->
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
- <Connector port="8080" maxHttpHeaderSize="8192"
+ <Connector address="0.0.0.0" port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
@@ -108,7 +108,7 @@
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<!--
- <Connector port="8443" maxHttpHeaderSize="8192"
+ <Connector address="0.0.0.0" port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
@@ -116,13 +116,13 @@
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
- <Connector port="8009"
+ <Connector address="0.0.0.0" port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
<!--
- <Connector port="8082"
+ <Connector address="0.0.0.0" port="8082"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" acceptCount="100" connectionTimeout="20000"
proxyPort="80" disableUploadTimeout="true" />
@@ -213,7 +213,7 @@
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
- <Host name="localhost" appBase="webapps"
+ <Host name="localhost" appBase="/var/tomcat/webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">