From b5abe9bac66146ffbf2ef05c01895f2b7e31c710 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 23 Apr 2010 13:48:09 +0200 Subject: [PATCH 1/1] rename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401 --- web/htdocs/add.html | 3 --- web/htdocs/add_target.html | 3 +++ web/htdocs/chrome/layout.mc | 2 +- web/htdocs/robots.txt | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 web/htdocs/add.html create mode 100644 web/htdocs/add_target.html diff --git a/web/htdocs/add.html b/web/htdocs/add.html deleted file mode 100644 index 9df79ee..0000000 --- a/web/htdocs/add.html +++ /dev/null @@ -1,3 +0,0 @@ -<& /chrome/layout.mc, %ARGS, - title => "Add target record", - component => "/details/edit.mc", op => "new" &> diff --git a/web/htdocs/add_target.html b/web/htdocs/add_target.html new file mode 100644 index 0000000..9df79ee --- /dev/null +++ b/web/htdocs/add_target.html @@ -0,0 +1,3 @@ +<& /chrome/layout.mc, %ARGS, + title => "Add target record", + component => "/details/edit.mc", op => "new" &> diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc index 60bd39d..4d98463 100644 --- a/web/htdocs/chrome/layout.mc +++ b/web/htdocs/chrome/layout.mc @@ -65,7 +65,7 @@ use ZOOM::IRSpy::Utils qw(utf8param trimField isodate xml_encode cql_target cql_ Home
Test all targets
Find a target
- Add a target
+ Add a target
Upload a target
Statistics

diff --git a/web/htdocs/robots.txt b/web/htdocs/robots.txt index d19bcff..fed2b3a 100644 --- a/web/htdocs/robots.txt +++ b/web/htdocs/robots.txt @@ -1,6 +1,7 @@ User-agent: * Disallow: /admin/ Disallow: /add.html +Disallow: /add_target.html Disallow: /all.html Disallow: /doc.html Disallow: /find.html -- 1.7.10.4