{
struct child *ch;
struct config *ccf;
+ struct headmod *head;
char *twd;
- if(!strncmp(path, "./", 2))
+ 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) {
headappheader(req, "X-Ash-File", path);