tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <>
Subject RE: uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces]
Date Sat, 10 Aug 2002 06:31:56 GMT
> -----Original Message-----
> From: Bojan Smojver [] 
> Sent: Saturday, August 10, 2002 2:04 AM
> To: Tomcat Dev List
> Subject: Re: uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces]
> 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...

True (I think) for the positive assertions, but:

#matches entire app

#matches everything except .gif, .jpg, .jpeg, .png

The entire purpose is to be able to _disallow_ certain mappings in the
already mapped application.
I'm afraid that the mod_proxy cannot be used for such a thing, cause the
first mapping will forcibly drive all the examples context through the
At first I was trying (before the pcre idea) to use the simple matching
like :




This is can be parsed without using pcre (using apr_fnmatch), but what
about more complex schemas involving directories and file extensions,
not only files.
On the other hand, we can use the mod_rewrite/mod_proxy only with the
Apache, and we want to be portable thought.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message