-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.1.3-RC2
-
Component/s: Front End
-
Labels:None
-
External issue URL:
-
Change Log Message:Removes public access from ".svn" and "CVS" folders
-
External issue ID:1092
-
Copy Issue Key:
-
Patch Instructions:
We need to find out if it's possible to restrict access to .svn and CVS folders from Web (.htaccess or vHosts)?
According to this article (http://selfsolved.com/problems/svn-directory-is-viewable-through-apache) the correct redirectmatch usage here should be:
RedirectMatch 404 /(\.svn|CVS)(/|$)
I've tested, that i works for URL like this:
/in-portal/.svn
/in-portal/.svn/entries
/in-portal/admin/.svn
So it works, when folder ".svn" or "CVS" is present within the path.