You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@apache.org on 2002/03/20 04:33:24 UTC
cvs commit: jakarta-tomcat/src/etc/jk obj.conf
larryi 02/03/19 19:33:24
Modified: src/etc/jk obj.conf
Log:
Bring this example file more up to date.
Revision Changes Path
1.2 +12 -4 jakarta-tomcat/src/etc/jk/obj.conf
Index: obj.conf
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/etc/jk/obj.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- obj.conf 9 Sep 2000 23:21:20 -0000 1.1
+++ obj.conf 20 Mar 2002 03:33:24 -0000 1.2
@@ -12,7 +12,7 @@
#
# Assign contexts to Tomcat
#
-NameTrans fn="assign-name" from="/servlet/*" name="servlet"
+NameTrans fn="assign-name" from="/examples" name="servlet"
NameTrans fn="assign-name" from="/examples/*" name="servlet"
#
# Advanced context configuration
@@ -20,6 +20,14 @@
# NameTrans fn="assign-name" from="/examples/jsp/*.jsp" name="servlet"
# NameTrans fn="assign-name" from="/examples/servlet/*" name="servlet"
# NameTrans fn=pfx2dir from=/examples dir="d:/tomcat/examples"
+#
+# Really advanced context configuration
+#
+# Requires some form of "merging" betweem the Netscape's "root"
+# directory and Tomcat's "ROOT" web application.
+#
+# NameTrans fn="assign-name" from="/*.jsp" name="servlet"
+# NameTrans fn="assign-name" from="/servlet/*" name="servlet"
NameTrans fn=pfx2dir from=/ns-icons dir="d:/web-servers/ent3.6/ns-icons"
NameTrans fn=pfx2dir from=/mc-icons dir="d:/web-servers/ent3.6/ns-icons"
@@ -50,15 +58,15 @@
<Object name=servlet>
#
-# Pass the request to the ajp12 worker
+# Pass the request to the ajp13 worker
#
ObjectType fn=force-type type=text/plain
-Service fn="jk_service" worker="ajp12"
+Service fn="jk_service" worker="ajp13"
#
# Pass the request to the jni worker
#
-# Service fn="jk_service" worker="ajp12"
+# Service fn="jk_service" worker="inprocess"
#
</Object>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>