You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Asaf Barkan <as...@mercury.co.il> on 2003/01/19 18:38:50 UTC

Using regular expressions in uriworkersmap.properties

Hi,

I am using Tomcat 4.0.4 with IIS 5, configured with the jakarta filter dll
to pass request according to the uriworkersmap.properties file.

I have discovered that when using number of consecutive slashes with IIS
before the virtual directory name, the jakarta filter does not recognize The
request and therefore the IIS serve the request (and give the user the
ability to gain the jsp files and so).
For example : http://mywebserver.com//mysite/mysapi

In order to prevent this from happen I added /*/ to each mapping in the
uriworkersmap.properties line and by that
I confirm that tomcat would get all requests (and serve them if they are
correct).

Does any one knows of a better fix for that problem, or any problem with the
workaround I have set ?

Thanks a lot

Asaf


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>