diff options
author | the lemons <citrons@mondecitronne.com> | 2022-02-07 09:50:24 -0600 |
---|---|---|
committer | the lemons <citrons@mondecitronne.com> | 2022-02-07 09:50:24 -0600 |
commit | 2b11ec17b16c1b4d17db4f00517e200a52b7e636 (patch) | |
tree | fb7804f6952efb9fb66de18464720735078e4809 | |
parent | 4d245e47f1241c9d82d43396bf099519c6b01ddf (diff) |
robots.txt
-rw-r--r-- | robots.txt | 3 | ||||
-rwxr-xr-x | zzcxz.cgi | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..4111bca --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Allow: /g/zzcxz +Disallow: /g/ @@ -503,6 +503,11 @@ map["^/about/?$"] = function() return assert(io.open("about.html", 'r')) end +map["^/robots.txt$"] = function() + return assert(io.open("robots.txt", 'r')), + { content_type = 'text/plain' } +end + local function main() if env "PATH_INFO" == "/" then return redirect "/g/zzcxz" |