Jim Jagielski wrote:
The patch attached to bugzilla 14648 (and this message) fixes a long standing mod_proxy/mod_rewrite/mod_include problem. The same bug is in the old bug db several times: PR2074, PR5338, PR6804.I'm considering releasing 1.3.28 soonish... comments?
--
Mike Cramer
http://www.webkist.com/
diff --recursive -buB apache_1.3.27/src/modules/standard/mod_dir.c
../apache_1.3.27/src/modules/standard/mod_dir.c
--- apache_1.3.27/src/modules/standard/mod_dir.c 2002-03-13 16:05:33.000000000
-0500
+++ ../apache_1.3.27/src/modules/standard/mod_dir.c 2002-11-27 15:01:37.000000000
+-0500
@@ -160,7 +160,7 @@
for (; num_names; ++names_ptr, --num_names) {
char *name_ptr = *names_ptr;
- request_rec *rr = ap_sub_req_lookup_uri(name_ptr, r);
+ request_rec *rr = ap_sub_req_lookup_file(name_ptr, r);
if (rr->status == HTTP_OK && S_ISREG(rr->finfo.st_mode)) {
char *new_uri = ap_escape_uri(r->pool, rr->uri);
diff --recursive -buB apache_1.3.27/src/modules/standard/mod_rewrite.c
../apache_1.3.27/src/modules/standard/mod_rewrite.c
--- apache_1.3.27/src/modules/standard/mod_rewrite.c 2002-07-08 13:18:32.000000000
-0400
+++ ../apache_1.3.27/src/modules/standard/mod_rewrite.c 2002-11-27 15:03:14.000000000
+-0500
@@ -1645,7 +1645,6 @@
*/
if (r->main != NULL &&
(p->flags & RULEFLAG_IGNOREONSUBREQ ||
- p->flags & RULEFLAG_PROXY ||
p->flags & RULEFLAG_FORCEREDIRECT )) {
continue;
}
