security-constraint url-pattern *.* does not work

My security-constraint url-pattern uses *.*

<url-pattern>/myfolder/*.*</url-pattern>

The above is intended to protected all files with extensions in the /
myfolder, but not its subfolders. Tomcat claims the syntax is an
error.

<url-pattern>/myfolder/*</url-pattern>

The above is accepted, but it protects files in myfolder/ as well as
its subfolders.

A strange design I suppose. But the reason I ask is that I want to
apply a filter only to files that are not protected.

Thanks.
removeps-groups [ Sa, 17 November 2007 21:17 ] [ ID #1873148 ]
Webserver » alt.apache.configuration » security-constraint url-pattern *.* does not work

Vorheriges Thema: post transformed into a get....
Nächstes Thema: Is there a way to get the unsecure and secure port number in Java