News for hackers. Stuff that matters.
Re:Hacking the .SVN directory by joeyo on Tuesday January 27, 2009 @12:47AM (#451721)
You seem to have made a mistake with the rewrite rule. I think you mean:

  RewriteRule (\.svn)/(.*?) - [F,L]
Note the backslash before the .svn directory.

I'm also not entirely sure that the question mark (zero or one quantifier) is necessary; it seems like

  (.*)
would suffice for catching files within the .svn directory, but this is quickly getting out of my league.
Re:Hacking the .SVN directory by agotterer on Tuesday January 27, 2009 @01:09AM (#451736)
Your right, I forget to transcribe the backslash (its correct in my htaccess). I will update the article. Thanks!