SHOW:
|
|
- or go back to the newest paste.
| 1 | <?xml version='1.0' encoding='utf-8'?> | |
| 2 | ||
| 3 | <Server port="8005" shutdown="SHUTDOWN"> | |
| 4 | ||
| 5 | <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> | |
| 6 | <Listener className="org.apache.catalina.core.JasperListener" /> | |
| 7 | <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> | |
| 8 | <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> | |
| 9 | <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" /> | |
| 10 | ||
| 11 | ||
| 12 | <GlobalNamingResources> | |
| 13 | <Resource name="UserDatabase" auth="Container" | |
| 14 | type="org.apache.catalina.UserDatabase" | |
| 15 | description="User database that can be updated and saved" | |
| 16 | factory="org.apache.catalina.users.MemoryUserDatabaseFactory" | |
| 17 | pathname="conf/tomcat-users.xml" /> | |
| 18 | </GlobalNamingResources> | |
| 19 | ||
| 20 | <Service name="Catalina"> | |
| 21 | <Connector port="8080" protocol="HTTP/1.1" | |
| 22 | connectionTimeout="20000" | |
| 23 | redirectPort="8443" /> | |
| 24 | ||
| 25 | <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> | |
| 26 | <Engine name="Catalina" defaultHost="tomcat"> | |
| 27 | <Realm className="org.apache.catalina.realm.LockOutRealm"> | |
| 28 | <Realm className="org.apache.catalina.realm.UserDatabaseRealm" | |
| 29 | resourceName="UserDatabase"/> | |
| 30 | </Realm> | |
| 31 | <Host name="tomcat" appBase="webapps/admin/" | |
| 32 | unpackWARs="true" autoDeploy="true"> | |
| 33 | ||
| 34 | <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> | |
| 35 | <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" | |
| 36 | prefix="tomcat_access_log." suffix=".log" | |
| 37 | pattern="%h %l %u %t "%r" %s %b" /> | |
| 38 | </Host> | |
| 39 | ||
| 40 | <Host name="development.domain.tld" appBase="webapps/development/" | |
| 41 | unpackWARs="true" autoDeploy="true" deployOnStartup="false"> | |
| 42 | <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> | |
| 43 | <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs/development" | |
| 44 | prefix="devel_access_log." suffix=".log" | |
| 45 | pattern="%h %l %u %t "%r" %s %b" /> | |
| 46 | </Host> | |
| 47 | </Engine> | |
| 48 | </Service> | |
| 49 | </Server> |