tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <m...@ceti.pl>
Subject How to password protect a directory?
Date Tue, 05 Dec 2006 10:21:40 GMT
Hi,

I have several directories mapped to my Tomcat instance with context.xml 
like this:

<?xml version="1.0" encoding="ISO-8859-2"?>
<Context
        cookies="false"
        docBase="/home/stats/some_dir"
        path="/stats"
 />

There're only html files there. No JSP, servlets, and of course no 
WEB-INF. How can I password protect those directories (or webapps)? Do I 
have to create appropriate WEB-INF/web.xml and security constraints? Or 
is there any simpler solution?

-- 
Mikolaj Rydzewski <miki@ceti.pl>


Mime
View raw message