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