Add robots.txt, to avoid spiders hammering the server via gitweb.

This commit is contained in:
Eli Barzilay 2012-02-20 05:27:29 -05:00
parent bdd82c1b45
commit bfb731e065

View File

@ -27,6 +27,11 @@
@p{See the "brief", PLT-oriented @intro{introduction to git}.}}))
(define home-file @plain[#:file "home-text.html" home-text])
(define robots.txt
@plain{User-agent: *
@(add-newlines (for/list ([d '(plt libs testing play)])
@list{Disallow: /@|d|/}))})
(define gitweb-config
@plain[#:file "gitweb_config.perl"]{
our $projectroot = "repos";