The following reply was made to PR mod_dir/3596; it has been noted by GNATS.

From: Radu Greab <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc:  Subject: Re: mod_dir/3596: mod_dir doesn't handle requests which must be 
processed internally by mod_proxy
Date: Mon, 28 Dec 1998 15:48:54 +0200

 I understood finally for what's used the file access check. Sorry for
 the errors in the posted bug report.
 
 Still I need mod_dir to recognize indexes which must be processed
 later by mod_proxy, so the following patch should do it:
 
 --- src/modules/standard/mod_dir.c.orig        Mon Dec 28 15:39:01 1998
 +++ src/modules/standard/mod_dir.c     Mon Dec 28 15:38:15 1998
 @@ -161,7 +161,8 @@
          char *name_ptr = *names_ptr;
          request_rec *rr = ap_sub_req_lookup_uri(name_ptr, r);
 
 -        if (rr->status == HTTP_OK && rr->finfo.st_mode != 0) {
 +        if (rr->status == HTTP_OK &&
 +                (rr->finfo.st_mode != 0 || rr->proxyreq != 0)) {
              char *new_uri = escape_uri(r->pool, rr->uri);
 
              if (rr->args != NULL)

Reply via email to