Solution for: #6: SVN directory is viewable through Apache
Use httpd.conf to deny access to .svn files or redirect access
- yliu on January 27, 2009, 11:37 AM UTC
In particular:
This will respond with a 404 every time a .svn directory is accessed by a HTTP client.
RedirectMatch 404 /\\.svn(/|$)
This will respond with a 404 every time a .svn directory is accessed by a HTTP client.
References used:
Deny access to .svn files
( http://stackoverflow.com/questions/398008/deny-access-to-svn-folders-on-apache ) - found by yliu on January 27, 2009, 11:34 AM UTC
mod_alias - Apache HTTP Server
( http://httpd.apache.org/docs/2.2/mod/mod_alias.html ) - found by yliu on January 27, 2009, 11:33 AM UTC
Comments
thanks!
— johnny on December 30, 2009, 04:39 AM UTC