cf2daff4a3
Java servlet 2.5 and Java server pages 2.1 server okay & comments ian@
44 lines
1.9 KiB
Plaintext
44 lines
1.9 KiB
Plaintext
$OpenBSD: patch-conf_server_xml,v 1.1.1.1 2009/01/09 21:38:43 kurt Exp $
|
|
--- conf/server.xml.orig Mon Jul 21 20:01:12 2008
|
|
+++ conf/server.xml Thu Jan 1 15:03:32 2009
|
|
@@ -64,12 +64,12 @@
|
|
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 address="0.0.0.0" port="8080" protocol="HTTP/1.1"
|
|
connectionTimeout="20000"
|
|
redirectPort="8443" />
|
|
<!-- A "Connector" using the shared thread pool-->
|
|
<!--
|
|
- <Connector executor="tomcatThreadPool"
|
|
+ <Connector executor="tomcatThreadPool" address="0.0.0.0"
|
|
port="8080" protocol="HTTP/1.1"
|
|
connectionTimeout="20000"
|
|
redirectPort="8443" />
|
|
@@ -79,13 +79,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
|
|
@@ -123,7 +123,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">
|
|
|