View Issue Details

IDProjectCategoryView StatusLast Update
0004831mantisbtinstallationpublic2007-08-02 02:28
Reportermarc Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.1.0a4 
Summary0004831: accessing mantis webserver through a proxy websserver
Description

we have our mantis installation running on an internal webserver, which can be accessed from the outside through a different webserver (apache which uses ProxyPass). In that case, the $g_path contains the wrong hostname. Its set to the internal name of the webserver, not the one the user specified in the browser.

This leads to all the icons not being loaded.

I added this to config_defaults_inc.php:
if ( isset( $_SERVER['HTTP_X_FORWARDED_HOST'] ) ) {
$t_host = $_SERVER['HTTP_X_FORWARDED_HOST'];
} else if ( isset( $_SERVER['HTTP_HOST'] ) ) {

TagsNo tags attached.

Relationships

has duplicate 0006134 closedvboctor Use of HTTP_X_FORWARDED_HOST instead of HTTP_HOST 

Activities

There are no notes attached to this issue.