rename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 23 Apr 2010 11:48:09 +0000 (13:48 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 23 Apr 2010 11:48:09 +0000 (13:48 +0200)
web/htdocs/add.html [deleted file]
web/htdocs/add_target.html [new file with mode: 0644]
web/htdocs/chrome/layout.mc
web/htdocs/robots.txt

diff --git a/web/htdocs/add.html b/web/htdocs/add.html
deleted file mode 100644 (file)
index 9df79ee..0000000
+++ /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 (file)
index 0000000..9df79ee
--- /dev/null
@@ -0,0 +1,3 @@
+<& /chrome/layout.mc, %ARGS,
+    title => "Add target record",
+    component => "/details/edit.mc", op => "new" &>
index 60bd39d..4d98463 100644 (file)
@@ -65,7 +65,7 @@ use ZOOM::IRSpy::Utils qw(utf8param trimField isodate xml_encode cql_target cql_
       <a href="/"><b>Home</b></a><br/>
       <a href="/admin/all.html">Test&nbsp;all&nbsp;targets</a><br/>
       <a href="/find.html">Find a target</a><br/>
-      <a href="/add.html">Add a target</a><br/>
+      <a href="/add_target.html">Add a target</a><br/>
       <a href="/upload.html">Upload a target</a><br/>
       <a href="/stats.html">Statistics</a><br/>
      </p>
index d19bcff..fed2b3a 100644 (file)
@@ -1,6 +1,7 @@
 User-agent: *
 Disallow: /admin/
 Disallow: /add.html
+Disallow: /add_target.html
 Disallow: /all.html
 Disallow: /doc.html
 Disallow: /find.html