ref: 0e09795831f37b86206e4dc9b3a0ac8bcd90401e
dir: /sys/src/cmd/ip/httpd/anonymous.c/
#include <u.h> #include <libc.h> #include "httpd.h" #include "httpsrv.h" void anonymous(HConnect *c) { if(bind(webroot, "/", MREPL) < 0){ hfail(c, HInternal); exits(nil); } chdir("/"); }