Bug 15112 - mod_dir does not allow reverse proxied index pages.
Summary: mod_dir does not allow reverse proxied index pages.
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_dir (show other bugs)
Version: 2.0-HEAD
Hardware: All All
: P3 normal with 3 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
: 29961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-05 16:11 UTC by Mike Cramer
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)



Attachments
Fix proxying of index files (892 bytes, patch)
2002-12-05 16:12 UTC, Mike Cramer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cramer 2002-12-05 16:11:38 UTC
In httpd-2.0, mod_dir uses ap_internal_fast_redirect once it has found an
appropriate file from the DirectoryIndex list. This change makes it impossible
to use mod_rewrite's proxypass feature on an index file. mod_dir finds the file,
but returns its source instead of the output of the proxypass. The fix is to
revert mod_dir back to its old behavior, which is to start up an entirely new
subrequest once it finds the proper index file.
Comment 1 Mike Cramer 2002-12-05 16:12:40 UTC
Created attachment 4059 [details]
Fix proxying of index files
Comment 2 Jeff Trawick 2003-11-21 17:09:57 UTC
I'm going through the bug db to make sure patches are findable.  Please see 
http://httpd.apache.org/dev/patches.html
Comment 3 Dmitri Tikhonov 2004-07-07 21:38:59 UTC
Also see bug 29961.
Comment 4 André Malo 2004-07-07 21:53:35 UTC
Fixed in 2.1 already.

http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/mappers/mod_dir.c?r1=1.43&r2=1.44

I'm going to propose it for backport.
Comment 5 André Malo 2004-07-07 21:54:28 UTC
*** Bug 29961 has been marked as a duplicate of this bug. ***
Comment 6 André Malo 2004-08-15 21:37:16 UTC
FYI: the fix will be in 2.0.51.