tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Jacobson <robert.c.jacob...@nasa.gov>
Subject Re: deny access to directory
Date Tue, 30 Aug 2011 14:14:37 GMT
On 8/30/2011 10:01 AM, Konstantin Kolinko wrote:
>
> That is because any subdirectory inside webapps is a web application
> per se, and ".svn" is no exception (and thus you should be editing
> .svn/WEB-INF/web.xml).
>
> The following solutions are available:
> 1. Upgrade to svn 1.7 so that it does not have .svn directories all
> over the tree.
> 2. Use svn export instead of svn checkout.
> 3. Configure deployIgnore attribute on a host.
> 4. If you need a filter that affects all webapps you may add it either
> to ${catalina.base}/conf/web.xml, or to each web application
> individually.

Sir,

Thank you for your polite, informative, and helpful response!

I have to get the upgrade to svn 1.7 approved, so in the mean time I
have elected to add a file

.svn/WEB-INF/web.xml

with the appropriate security constraint (deny for url-pattern "/*")


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson               Robert.C.Jacobson@nasa.gov
Lead System Admin       Solar Dynamics Observatory (SDO)
Bldg 14, E222                             (301) 286-1591 


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


Mime
View raw message