From 5d5f48af83da18968f3ee97275498dfc8a933274 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 6 May 2008 08:04:28 +0000 Subject: [PATCH] * Some robots blocks. svn path=/nixos/trunk/; revision=11762 --- upstart-jobs/apache-httpd/twiki.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/upstart-jobs/apache-httpd/twiki.nix b/upstart-jobs/apache-httpd/twiki.nix index 0a84f13ba7c..f72e92c84ea 100644 --- a/upstart-jobs/apache-httpd/twiki.nix +++ b/upstart-jobs/apache-httpd/twiki.nix @@ -98,10 +98,22 @@ in { ''; + robotsEntries = '' + User-agent: * + Disallow: /rdiff/ + Disallow: /rename/ + Disallow: /edit/ + Disallow: /bin/ + Disallow: /oops/ + Disallow: /view/ + Disallow: /search/ + Disallow: /attach/ + Disallow: /pt/bin/ + ''; + # !!! should not be needed extraModulesPre = []; extraModules = []; - robotsEntries = ""; globalEnvVars = []; extraServerPath = []; extraPath = [];