View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013056 | mantisbt | installation | public | 2011-06-07 03:51 | 2020-12-01 13:02 |
Reporter | sandor | Assigned To | |||
Priority | high | Severity | block | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Mantis with reverse proxy Apache | ||||
Product Version | 1.2.5 | ||||
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 |
|
@dregad - changes checked in nearly 2 years past. how does someone review? there's an existing pull request. |
|