You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mladen Turk <mt...@mappingsoft.com> on 2002/09/23 09:05:35 UTC
[JK2] uriMap vhosts
Hi,
Seems we have some problems and conceptual misunderstandings regarding
vhosts.
I would like to clear that a bit cause it's a pretty big showstopper on
any beta.
My proposal is to lead some light to both configuration and code that
maps all that.
We need to things that will satisfy that.
1. Making some sort of _default_ mappings
These mappings are for every host on the server (both default and every
vhost).
There is no particular reason for that except that the
workers2.properties can be smaller.
2. Making vhost:port scheme
Using general vhost:* mapping no matter port number is and
Using vhost:port mappings for that particular combination.
If the hostname is provided than the mapping can only be done in the
following cases:
1. Exact hostname:port is found
2. Hostname:* is found
3. _default_ mapping has been found.
Now my question is are there any ideas how to differentiate the default
host and its mappings from the _default_ mappings for every host
(default and all the vhosts) in the w2.p.
MT.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [JK2] uriMap vhosts
Posted by Costin Manolache <cm...@yahoo.com>.
Mladen Turk wrote:
> 1. Making some sort of _default_ mappings
> These mappings are for every host on the server (both default and every
> vhost).
> There is no particular reason for that except that the
> workers2.properties can be smaller.
>
> 2. Making vhost:port scheme
> Using general vhost:* mapping no matter port number is and
> Using vhost:port mappings for that particular combination.
>
> If the hostname is provided than the mapping can only be done in the
> following cases:
>
> 1. Exact hostname:port is found
> 2. Hostname:* is found
> 3. _default_ mapping has been found.
>
> Now my question is are there any ideas how to differentiate the default
> host and its mappings from the _default_ mappings for every host
> (default and all the vhosts) in the w2.p.
We can have a
[ default: ]
section.
Or we can use 'global' settings ( attributes ).
Do you have any example use-case ? How would it translate to
a httpd.conf ?
Costin
>
>
> MT.
--
Costin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>