You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2006/11/26 20:04:42 UTC

svn commit: r479404 - /tomcat/connectors/trunk/jk/xdocs/config/uriworkermap.xml

Author: mturk
Date: Sun Nov 26 11:04:41 2006
New Revision: 479404

URL: http://svn.apache.org/viewvc?view=rev&rev=479404
Log:
Explain IIS virtual host mapping.

Modified:
    tomcat/connectors/trunk/jk/xdocs/config/uriworkermap.xml

Modified: tomcat/connectors/trunk/jk/xdocs/config/uriworkermap.xml
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/config/uriworkermap.xml?view=diff&rev=479404&r1=479403&r2=479404
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/config/uriworkermap.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/config/uriworkermap.xml Sun Nov 26 11:04:41 2006
@@ -8,6 +8,7 @@
 
     <properties>
         <author email="rjung@apache.org">Rainer Jung</author>
+        <author email="mturk@apache.org">Mladen Turk</author>
         <title>uriworkermap.properties configuration</title>
     </properties>
 
@@ -180,9 +181,26 @@
 <br/>
 <p>
 When using IIS you can restrict individual rules to special virtual hosts
-by prefixing the URI pattern with the virtual host information:
+by prefixing the URI pattern with the virtual host information.
+The rules is that the url must be prefixed with the host name.
 <source>
-  # To be completed
+  # Use www.foo.org as virtual host
+  /www.foo.org/myapp/*=myworker
+  # Use www.bar.org as virtual host
+  /www.bar.org/myapp/*=myworker
+  # Normal mapping
+  /mysecondapp/*=myworker
+</source>
+</p>
+<p>
+Note that /mysecondapp/* will be mapped to all virtual hosts present.
+In  case one needs to prevent the mappings to some particular virual host then
+the exclusion rule must be used
+<source>
+  # Make sure the myapp is accessible by all virtual hosts
+  /myapp/*=myworker
+  # Disable mapping myapp for www.foo.org virtual host
+  !/www.foo.org/myapp/*=myworker
 </source>
 </p>
 </subsection>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org