View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013056 | mantisbt | installation | public | 2011-06-07 03:51 | 2019-02-06 13:04 |
Reporter | sandor | Assigned To | |||
Priority | high | Severity | block | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Mantis with reverse proxy Apache | OS | OS Version | ||
Product Version | 1.2.5 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013056: Url are coding with static path instead of relative path | ||||
Description | These url are coding with a static path : | ||||
Steps To Reproduce | install mantis with a reverse proxy : |reverse proxy| <=> |application server| <=> |database server| | ||||
Additional Information | To use mantis with a proxy and don't move files and folders, we rewrite some code in 3 files. But we are not totally sure if it is the best solution. Mantis\config_inc.php Mantis\core\string_api.php Mantis\core\helper_api.php | ||||
Tags | No tags attached. | ||||
ProxyPass /mantis/ https://proxy/ resolution in config_defaults_inc.php, line 119 : if ( isset( $_SERVER['HTTP_X_FORWARDED_HOST'] ) ) { |
|
related to 0009333 ? |
|
Hi, I saw this old issue and I have the exact same problem. Setting the variables to "$g_path" "$t_url" to an empty string solves the issue of the proxy access, however it raises another issue regarding the email notifications. E.g: here's what an account confirmation link sent via e-mail looks like: "verify.php?id=16&confirm_hash=uc0yto1gDYo3VB0GH7639MpNeOXAiBVraM0xAyMh8__O6eF-WsCVt7Py5KnqpKcs9SpNkXAPPP22nk9zuGk0". Why isn't Mantis built on relative paths ? |
|
Committed / pushed a change: https://github.com/mantisbt/mantisbt/pull/1459 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-06-07 03:51 | sandor | New Issue | |
2011-07-08 10:52 | sandor | Note Added: 0029136 | |
2011-07-08 10:54 | sandor | Note Edited: 0029136 | View Revisions |
2013-05-20 11:36 | lbayle | Note Added: 0036907 | |
2013-05-20 12:31 | dregad | Relationship added | related to 0009333 |
2018-07-06 08:57 | g4uti3r | Note Added: 0060223 | |
2019-02-06 12:30 | sarodude | Note Added: 0061422 | |
2019-02-06 13:04 | vboctor | Relationship added | related to 0024860 |