+<VirtualHost *:443>\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/[a-z0-9]{32}$"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/atom"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/blobdiff/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/blobdiff_plain/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/blob"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/blob_plain"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/commit/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/commitdiff/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/commitdiff_plain/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/history/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/log/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/patch/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/rss"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/shortlog/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/snapshot/"\r
+ RedirectMatch 402 "^/[a-zA-Z0-9._-]+/tree/"\r
+</VirtualHost>
\ No newline at end of file