// should be done server-wide if you can (another snippet)
<IfModule mod_rewrite.c> RewriteRule ^(.*/)?\.svn/ - [F,L] ErrorDocument 403 "Access Forbidden" </IfModule>
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
<IfModule mod_rewrite.c> RewriteRule ^(.*/)?\.svn/ - [F,L] ErrorDocument 403 "Access Forbidden" </IfModule>
You need to create an account or log in to post comments to this site.
» Protect .svn directories ser... in apache sysadmin svn security subversion htaccess server config cvs protection hidden
» Ubuntu 7.10: bootstrap a Ru... in ruby rails sysadmin config rubyonrails ubuntu linux app stack install
» Using pw to add a group and ... in sysadmin pw groupadd useradd passwd freebsd
» Formatting a disk for use in... in sysadmin freebsd installation
» exim router for relaying via... in sysadmin freebsd exim mail smarthost
» mod_rewrite rules to serve a... in apache xhtml modrewrite mimetype htaccess
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails