derdewey
09-22-2006, 03:37 AM
I'm trying to get a better workflow going for rolling out a rails app from a svn repo and I wanted to know how the .htaccess in $RAILS_ROOT/public/ should be edited to disable access to the nitty gritties in .svn folders.
I tried following the rails wiki:
<DirectoryMatch "^/.*/\.svn/">
Order deny,allow
Deny from all
</DirectoryMatch>
but apache threw up saying "DirectoryMatch not allowed here". Any ideas peeps?
I tried following the rails wiki:
<DirectoryMatch "^/.*/\.svn/">
Order deny,allow
Deny from all
</DirectoryMatch>
but apache threw up saying "DirectoryMatch not allowed here". Any ideas peeps?