In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1092 [In-Portal CMS] Front End bug report always 2011-08-08 11:17 2011-09-19 16:08
alex  
alex  
normal  
closed  
fixed  
 
none 5.1.3-RC2  
https://groups.google.com/d/topic/in-portal-bugs/2CJVW5TRXnQ/discussion
Removes public access from ".svn" and "CVS" folders
0
0001092: Restricting Access to .svn and CVS folders from Web
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.
patch restrict_repo_folder_access.patch (556) 2011-08-08 11:17
http://tracker.in-portal.org/file_download.php?file_id=1092&type=bug
Issue History
2011-09-19 16:08 alex Note Added: 0003799
2011-09-19 16:08 alex Status resolved => closed
2011-08-13 00:41 alex Note Added: 0003668
2011-08-13 00:41 alex Status reviewed and tested => resolved
2011-08-13 00:41 alex Fixed in Version => 5.1.3-RC2
2011-08-13 00:41 alex Resolution open => fixed
2011-08-13 00:41 alex Assigned To !COMMUNITY => alex
2011-08-13 00:41 alex Changeset attached 5.1.x r14486
2011-08-11 23:33 Dmitry Note Added: 0003655
2011-08-11 23:33 Dmitry Status needs testing => reviewed and tested
2011-08-11 23:33 Dmitry Target Version => 5.1.3
2011-08-08 11:18 alex Note Added: 0003645
2011-08-08 11:18 alex Assigned To => !COMMUNITY
2011-08-08 11:18 alex Developer => alex
2011-08-08 11:18 alex Status active => needs testing
2011-08-08 11:17 alex New Issue
2011-08-08 11:17 alex File Added: restrict_repo_folder_access.patch
2011-08-08 11:17 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/2CJVW5TRXnQ/discussion
2011-08-08 11:17 alex Change Log Message => Removes public access from ".svn" and "CVS" folders

Notes
(0003645)
alex   
2011-08-08 11:18   
File ".htaccess" from root installation folder is attached for testing.
(0003655)
Dmitry   
2011-08-11 23:33   
Tested good!
(0003668)
alex   
2011-08-13 00:41   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0001092: Restricting Access to .svn and CVS folders from Web
(0003799)
alex   
2011-09-19 16:08   
Closing, since 5.1.3 release has been released.