Erik C. Thauvin
Posts: 4232
Nickname: ethauvin
Registered: Apr, 2004
Erik C. Thauvin maintains one of the web's first and most popular linkblogs.
Restricting .svn Access
Posted: Feb 13, 2006 10:17 AM
This post originated from an RSS feed registered with Java Buzz
by Erik C. Thauvin.
Original Post: Restricting .svn Access
Feed Title: Erik's Weblog
Feed URL: http://erik.thauvin.net/blog/feed.jsp?cat=Java
Feed Description: The Truth is Out There!
Latest Java Buzz Posts
Latest Java Buzz Posts by Erik C. Thauvin
Latest Posts From Erik's Weblog
Advertisement
[@414] Restricting .svn Access
I was looking for a way to restrict access to the Subversion administrative (.svn
) directories in Apache /Tomcat . The instructions I found recommended using a DirectoryMatch
directive which doesn't work with mod_jk .
Using a global LocationMatch
directive seems to work:
<LocationMatch "^/.*/.svn/">
Order deny,allow
Deny from all
</LocationMatch>
Bookmarks: del.icio.us , yahoo! , digg it
Read: Restricting .svn Access