View Issue Details

IDProjectCategoryView StatusLast Update
0023545mantisbtuipublic2017-10-25 13:17
Reporterr.zobelAssigned To 
PrioritylowSeveritytweakReproducibilityalways
Status newResolutionopen 
Product Version2.7.0 
Target VersionFixed in Version 
Summary0023545: problem with stylesheet/page design on different url (hostname/ip)
Description

Hello,

duo to a vpn connection, mantis is only accessible by an ip address from the outside. Because I wish to have these IP address in the notification email instead of the local hostname, I added "$g_path = 'http://10.0.240.2/mantisbt/';" to the config. This works, but this way I have to open the mantispage also on the local mashine with the ip address. If I use http://localhost/mantisbt/ or http://hostname/mantisbt/ then there is a problem with the css or other included code, because all fonts are "times new roman" and the icons from the menus are missing. I'll attach screenshots.

Additional Information

similar tickets: 12092,8604

TagsNo tags attached.

Activities

r.zobel

r.zobel

2017-10-25 11:13

reporter  

ip_mantisbt.png (31,860 bytes)
ip_mantisbt.png (31,860 bytes)
localhost_mantisbt.png (23,941 bytes)
localhost_mantisbt.png (23,941 bytes)
cproensa

cproensa

2017-10-25 11:31

developer   ~0058055

Last edited: 2017-10-25 13:17

View 2 revisions

As far as i know:
$g_path should not be a different host that the one used to access the site by the client. Otherwise, included css and js may fail due to security policies (or simply inaccesible), as they would point to other hostnames.
That's why $g_path is calculated based on client's request

Unless mistaken, there is no option to set a fixed host/url for public facing notifications, shareable links, etc, so this should be acknowledged as an issue.

Issue History

Date Modified Username Field Change
2017-10-25 11:13 r.zobel New Issue
2017-10-25 11:13 r.zobel File Added: ip_mantisbt.png
2017-10-25 11:13 r.zobel File Added: localhost_mantisbt.png
2017-10-25 11:31 cproensa Note Added: 0058055
2017-10-25 13:17 cproensa Note Edited: 0058055 View Revisions