(no commit message) master
authorChristian Weiske <cweiske@cweiske.de>
Mon, 18 Aug 2025 19:57:08 +0000 (21:57 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 18 Aug 2025 19:57:08 +0000 (21:57 +0200)
site.conf [new file with mode: 0644]

diff --git a/site.conf b/site.conf
new file mode 100644 (file)
index 0000000..0c0fac9
--- /dev/null
+++ b/site.conf
@@ -0,0 +1,18 @@
+<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