Hi.

Re : http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html

While perusing the above document, it occurs to me that the following paragraph is a bit ambiguous :

quote
Virtual host integration


    IIS


When using IIS you can restrict individual rules to special virtual hosts by prefixing the URI pattern with the virtual host information. The rules is that the url must be prefixed with the host name.
etc...

unquote

Are we talking about Virtual Hosts as defined in the front-end IIS server, or about Virtual Hosts (aka <Host ..>) in the backend server ?

If we are talking about virtual hosts in the front-end IIS server, then the example which follows seems a bit useless :

  # 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

(since we are mapping everything to worker "myworker" anyway.)

Would this not be better ?

  # Request to /myapp from virtual host www.foo.org go to worker-foo
  /www.foo.org/myapp/*=worker-foo
  # Request to /myapp from virtual host www.bar.org go to worker-bar
  /www.bar.org/myapp/*=worker-bar
  # Normal mapping
  /mysecondapp/*=myworker

Or am I understanding this the wrong way around ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to