[paste-web/oscp] Disallow /search, /all and /trending
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [paste-web/oscp] Disallow /search, /all and /trending
- Date: Thu, 30 Apr 2020 10:04:56 +0000 (UTC)
commit 6646b65bd0e88c7e10402891082708434f1851c2
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Apr 30 12:04:43 2020 +0200
Disallow /search, /all and /trending
paste.gnome.org.conf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/paste.gnome.org.conf b/paste.gnome.org.conf
index 6d6b894a..22e76cd7 100644
--- a/paste.gnome.org.conf
+++ b/paste.gnome.org.conf
@@ -24,7 +24,10 @@
RewriteCond "%{HTTP_USER_AGENT}" "^omgili"
RewriteRule . - [F]
- RewriteCond %{REQUEST_URI} "^/api/xml"
+ RewriteCond %{REQUEST_URI} "^/api/xml" [OR]
+ RewriteCond %{REQUEST_URI} "^/search" [OR]
+ RewriteCond %{REQUEST_URI} "^/all" [OR]
+ RewriteCond %{REQUEST_URI} "^/trending"
RewriteRule ^.*$ - [F,L]
Options Indexes FollowSymLinks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]