Enable robots.txt in docs.freebsd.org

Enable again robots.txt for docs.freebsd.org

PR:             253031
Submitted by:   wosch@
This commit is contained in:
Sergio Carlavilla Delgado 2021-01-26 20:12:37 +01:00
parent a4e8636939
commit 7808bd27ab
2 changed files with 20 additions and 0 deletions

View file

@ -12,6 +12,7 @@ disableKinds = [ "taxonomy", "taxonomyTerm" ]
authors = [ "carlavilla@FreeBSD.org" ]
preserveTOC = true
ignoreFiles = [ "chapters-order.adoc$", "toc.adoc$", "toc-tables.adoc$", "toc-figures.adoc$", "toc-examples.adoc$", "toc-1.adoc$", "toc-2.adoc$", "toc-3.adoc$", "toc-4.adoc$", "toc-5.adoc$", "books.adoc$", "chapter.adoc$" ]
enableRobotsTXT = true
[params]
websiteURL = "https://www-dev.freebsd.org/"

View file

@ -0,0 +1,19 @@
# $FreeBSD$
User-agent: *
#Crawl-delay: 10
Disallow: /cgi/confirm-code.cgi
Disallow: /cgi/cvsweb.cgi
Disallow: /cgi/dosendpr.cgi
Disallow: /cgi/getmsg.cgi
Disallow: /cgi/mailindex.cgi
Disallow: /cgi/man.cgi?apropos=2&
Disallow: /cgi/mid.cgi
Disallow: /cgi/mirror.cgi
Disallow: /cgi/missing_handler.cgi
Disallow: /cgi/ports.cgi
Disallow: /cgi/query-pr-summary.cgi
Disallow: /cgi/query-pr.cgi
Disallow: /cgi/search.cgi
Disallow: /cgi/url.cgi
Disallow: /statistic