aboutsummaryrefslogtreecommitdiff
path: root/zzcxz.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'zzcxz.cgi')
-rwxr-xr-xzzcxz.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/zzcxz.cgi b/zzcxz.cgi
index 21fffa9..088cb8f 100755
--- a/zzcxz.cgi
+++ b/zzcxz.cgi
@@ -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"