[lug] .svn directories inside web content
Jani Averbach
jaa at jaa.iki.fi
Fri Apr 21 23:18:29 MDT 2006
On 2006-04-21 14:52-0600, Paul Nowosielski wrote:
>
> I'm trying to remove 1000's of .svn files from a web directory.
> Can any one give me a tip on how to do this with a one line command?
You did't ask that, but anyway: you can also prevent .svn directories
to show up through Apache HTTPD by using following setting:
# http://subversion.tigris.org/faq.html#website-auto-update
# Disallow browsing of Subversion working copy administrative dirs.
<DirectoryMatch "^/.*/\.svn/">
Order deny,allow
Deny from all
</DirectoryMatch>
This way you can keep your .svn directories and update your site
directly from repository by running update.
BR, Jani
--
Jani Averbach
More information about the LUG
mailing list