bufaddenv(dst, "QUERY_STRING", "%s", qp?qp:"");
if((h = getheader(req, "Host")) != NULL)
bufaddenv(dst, "SERVER_NAME", "%s", h);
bufaddenv(dst, "QUERY_STRING", "%s", qp?qp:"");
if((h = getheader(req, "Host")) != NULL)
bufaddenv(dst, "SERVER_NAME", "%s", h);