mod_proxy_core: rewrite-request/docroot discards mod_indexfile changes
mod_proxy_core incorrectly resets physical.path (and as such what fastcgi apps see as SCRIPT_FILENAME) if it has been modified before (e.g. by mod_indexfile).
Attaching a patch which uses a different approach for getting the new docroot into physical.path, which should be less intrusive.
Updated by hoffie almost 12 years ago
Please note that I changed the order of the two blocks (DOCUMENT_ROOT and SCRIPT_FILENAME) by intention. The SCRIPT_FILENAME block needs access to the old docroot which is no longer available when re-setting it before. ;)
It would also be good if someone could review that pointer arithmetic stuff, as I'm not really into C. =)
Also available in: Atom