From b483c3b262e7b81c63a72430bfaa0e2480308374 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 19 Aug 2007 15:14:08 +0000 Subject: [PATCH] add robots.txt --- oxdbarchive/config/app.cfg | 4 ++++ oxdbarchive/static/robots.txt | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 oxdbarchive/static/robots.txt diff --git a/oxdbarchive/config/app.cfg b/oxdbarchive/config/app.cfg index b9d0948..63c0bd6 100644 --- a/oxdbarchive/config/app.cfg +++ b/oxdbarchive/config/app.cfg @@ -49,6 +49,10 @@ tg.empty_flash = False static_filter.on = True static_filter.dir = "%(top_level_dir)s/static" +[/robots.txt] +static_filter.on = True +static_filter.file = "%(top_level_dir)s/static/robots.txt" + [/favicon.ico] static_filter.on = True static_filter.file = "%(top_level_dir)s/static/images/favicon.ico" diff --git a/oxdbarchive/static/robots.txt b/oxdbarchive/static/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/oxdbarchive/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /