tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces]
Date Sat, 10 Aug 2002 00:03:58 GMT
Doesn't mod_rewrite do what you want here? In combination with
mod_proxy, it can rewrite URL to URL as well, so you can get the
resulting URL back in mod_jk and then just use normal mappings. Or maybe
I'm on a totally wrong track here...

As for IIS, dunno, don't care ;-)

Bojan

On Fri, 2002-08-09 at 21:07, Mladen Turk wrote:
> Hi,
> 
> Remember the last month advanced URI space resolution I proposed?
> 
> Well, I've been working on that for a week or so, and found myself doing
> things that are more or less regular expression matching of request uri.
> Even existing uri_map code has a trace of that (matching star for
> example), so IMO (since we are matching things) we could use the regex
> code as a general uri->file space matching solution. That way the users
> will be able to use the same syntax as for the <LocationMatch > or
> mod_proxy, allowing one to make complex uri resolutions, like TRUE/FALSE
> cases.
> 
> The major drawback of that is that we'll need the pcre library, either
> one that comes with the Apache 2 (by Philip Hazel) or Apache 1.3 (by
> Henry Spencer). Since the same should be used with the IIS and other
> platforms, I suggest that we use the one from Apache 2.0.
> 
> Using pcre will introduce the need for build process changes (only 2.0
> can use the proposed pcre from its own build) and we'll need the
> pcre.lib.
> 
> Thoughts?
> 
> MT.
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
> 



--
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