blob: 1213cf4ce053ea191a4bcc65b114c33a9aafdb24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#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("/");
}
|