| Anonymous | Login | Signup for a new account | 10-25-2025 22:01 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0003175 | [Quercus] | minor | always | 12-13-08 13:17 | 01-04-09 14:41 | |||||||
| Reporter | koreth | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | urgent | Resolution | open | |||||||||
| Status | new | Product Version | 4.0.0 | |||||||||
| Summary | 0003175: Backtraces contain odd paths when using URL rewriting | |||||||||||
| Description |
In my resin-web.xml: <rewrite-dispatch> <forward regexp="^(.*)$" target="/html/$1" /> </rewrite-dispatch> Then I have <webapp_root>/html/test/backtrace.php (note this is in a subdirectory): <?php include_once "<webapp_root>/lib/foo2.php"; function foo1() { print_r(debug_backtrace()); } call_foo1(); And <webapp_root>/lib/foo2.php: <?php function call_foo1() { foo1(); } Quercus prints a backtrace that has a path of <webapp_root>/html/test/lib/foo2.php rather than <webapp_root>/lib/foo2.php for the function call_foo2(). This only happens if the requested page is in a subdirectory of <webapp_root>/html; the paths look fine for files that are directly in the html directory. |
|||||||||||
| Additional Information | ||||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
| There are no notes attached to this issue. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 12-13-08 13:17 | koreth | New Issue | |
| 01-04-09 14:41 | ferg | Priority | normal => urgent |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |