Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
#include "httpd.h"
4
#include "httpsrv.h"
5
 
6
void
7
anonymous(HConnect *c)
8
{
9
	if(bind(webroot, "/", MREPL) < 0){
10
		hfail(c, HInternal);
11
		exits(nil);
12
	}
13
	chdir("/");
14
}