X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.c;h=14320ada0fc56fd8ebba1cc18eecd226d57e560d;hb=acc2d159e6f946ed6abc7c0e843a483d6478bee3;hp=c6da4b69c03003755379bd3f895caba52eb5d191;hpb=a017e22882b2e4b2a1fa0c3b077bc87a89906a69;p=ashd.git diff --git a/src/dirplex/dirplex.c b/src/dirplex/dirplex.c index c6da4b6..14320ad 100644 --- a/src/dirplex/dirplex.c +++ b/src/dirplex/dirplex.c @@ -59,8 +59,13 @@ static void handle(struct hthead *req, int fd, char *path, struct pattern *pat) { struct child *ch; struct config *ccf; + struct headmod *head; char *twd; + for(head = pat->headers; head != NULL; head = head->next) { + headrmheader(req, head->name); + headappheader(req, head->name, head->value); + } if(!strncmp(path, "./", 2) && path[2]) path += 2; if(pat->fchild) {