if (debug) log_d("D makedir");
static int makedir(struct request *r){	char *buf, *e;	if (debug)		log_d("D makedir");	buf = r->newloc;	strcpy(buf, r->url);	e = buf + strlen(buf);	*e++ = '/';	*e = 0;	r->location = buf;	return 302;}