Ticket #1641 (new defect)

Opened 5 months ago

Last modified 5 months ago

mod_proxy_core: rewrite-request/docroot discards mod_indexfile changes

Reported by: hoffie Owned by: jan
Priority: normal Milestone: 1.5.0
Component: mod_proxy_core Version: 1.5.x-svn
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

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.

Attachments

lighttpd-1.5-fix-docroot.patch (1.1 kB) - added by hoffie 5 months ago.

Change History

Changed 5 months ago by hoffie

Changed 5 months ago by hoffie

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. =)

Add/Change #1641 (mod_proxy_core: rewrite-request/docroot discards mod_indexfile changes)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.