tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prashanth P." <prash_mail_li...@yahoo.com>
Subject Re: RedHat 7.3 + Apache + Tomcat + JBoss + SSL... How the hell to? :-)
Date Tue, 29 Apr 2003 06:36:04 GMT
Hello:

I am trying to enforce URL protection for a particular
folder on the web application, but it just doesn't
work. I insert the following into the web.xml of my
web application to protect the contents of the /test
folder, but...nothing happens. Tomcat diplays and
serves the contents of the folder! What am I doing
wrong? I am using tomcat 4.1.24!

    <security-constraint>
	<web-resource-collection>
	    <web-resource-name>protected</web-resource-name>
	    <url-pattern>/test/*</url-pattern>
	    <http-method>GET</http-method>
	    <http-method>POST</http-method>
	</web-resource-collection>
    </security-constraint>

Thanks
Prashanth

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message