public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [COMMITTED htdocs] robots.txt: Disallow various wiki actions
@ 2024-03-01 13:37 Mark Wielaard
  2024-03-01 15:29 ` Gerald Pfeifer
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2024-03-01 13:37 UTC (permalink / raw)
  To: gcc-patches; +Cc: Gerald Pfeifer, Mark Wielaard

It is fine for robots to crawl the wiki pages, but they should perform
actions, generate huge diffs, search/highlight pages or generate
calendars.
---
 htdocs/robots.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/htdocs/robots.txt b/htdocs/robots.txt
index 057c5899..36be4d13 100644
--- a/htdocs/robots.txt
+++ b/htdocs/robots.txt
@@ -14,4 +14,8 @@ Disallow: /bugzilla/show_bug.cgi*ctype=xml*
 Disallow: /bugzilla/attachment.cgi
 Disallow: /bugzilla/showdependencygraph.cgi
 Disallow: /bugzilla/showdependencytree.cgi
+Disallow: /wiki/*?action=*
+Disallow: /wiki/*?diffs=*
+Disallow: /wiki/*?highlight=*
+Disallow: /wiki/*?calparms=*
 Crawl-Delay: 60
-- 
2.43.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [COMMITTED htdocs] robots.txt: Disallow various wiki actions
  2024-03-01 13:37 [COMMITTED htdocs] robots.txt: Disallow various wiki actions Mark Wielaard
@ 2024-03-01 15:29 ` Gerald Pfeifer
  0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 2024-03-01 15:29 UTC (permalink / raw)
  To: Mark Wielaard; +Cc: gcc-patches

On Fri, 1 Mar 2024, Mark Wielaard wrote:
> It is fine for robots to crawl the wiki pages, but they should perform
> actions, generate huge diffs, search/highlight pages or generate
> calendars.

s/should/should not/ :-)

I see your patch does exactly that - thank you!

Gerald

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-01 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-01 13:37 [COMMITTED htdocs] robots.txt: Disallow various wiki actions Mark Wielaard
2024-03-01 15:29 ` Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).