tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cmanola...@yahoo.com>
Subject Re: [JK2] new uriMap using hostname:port
Date Mon, 23 Sep 2002 20:28:23 GMT
All that matter to me is to preserve the equivalence with 
'native' apache config.

In other words, 

[uri:HOST:PORT/URL]
properties

Must be equivalent with

<VirtualHost addr:port ... > 
ServerAlias ...

<Location /URL>
JkUriSet .... 
</Location>
</VirtualHost>

By this criteria, I would prefer use of '_default_' for the default 
server.

For the syntax of HOST, port, URL - just make sure it matches the 
documented semantics of apache VirtualHost and Location.  

Costin

Mladen Turk wrote:

> 
> Think I didn't miss something :)
> 
> Here is how it works:
> 
> All the mappings are done in the following way:
> 
> <hostname|*>[:port]
> 
> Meaning '*' is used for the default host.
> 
> You can make now something like:
> 
> [uri:*:8080]
> Info=will map the all the default servers on the port 8080
> 
> Aliases should work now:
> 
> [uri:*]
> alias=localhost
> alias=www.apache.org
> 
> I have dropped the reverse attribute for now. Its too clumsy, and it
> will be enabled if pcre is ever adopted.
> 
> IIS (work to some extend) and Apache 1.3 need some extra tuning :-)
> 
> Please do test.
> 
> MT.

-- 
Costin



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


Mime
View raw message