Project

General

Profile

Actions

Bug #1641

closed

mod_proxy_core: rewrite-request/docroot discards mod_indexfile changes

Added by hoffie almost 16 years ago. Updated over 7 years ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_proxy_core
Target version:
ASK QUESTIONS IN Forums:

Description

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.


Files

Actions #1

Updated by hoffie almost 16 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. =)

Actions #2

Updated by gstrauss over 7 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes
Actions #3

Updated by gstrauss over 7 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom