Hacker News new | ask | show | jobs
by bradleyland 5728 days ago
Don't be afraid, just configure your Apache server correctly and you'll be fine.

One-liner if you're already using rewrite:

RewriteRule ^(./)?.svn/ - [F,L]

If you're not:

<Directorymatch "^/./.svn/"> Order deny,allow Deny from all </Directorymatch>