Avoid access to .svn and entries directories

If you use Subversion to update your published web pages, you can avoid the access to any .svn directory by adding some rules to .htaccess file. The files under these folders produce a vulnerability on security checks. 

RewriteEngine On
RewriteRule ^.svn/(.*)$ http://www.netvivs.com [R]

Advertisement

Did you like it?

No comments yet.

Leave a Comment