Defect #2813
closedwrong hostname for atom-links
100%
Description
Hi,
Due to firewalling-issues I have redmine deployed on a machine which is only reachable via mod_proxy.
The hostnames are different, the mod_proxy-machine is reachable via "redmine.example.com", the real machine having redmine running via mongrel_cluster is connected via "redmine-int.example.com".
In the settings, I set the "hostname" to "redmine.example.com".
Using Redmine normally works great, except for RSS/Atom-links: Redmine does not use the "hostname"-setting for links to atom-pages, the link refs to "redmine-int.example.com":
<link href="http://redmine-int.example.com/projects/activity?format=atom&key=MYATOMKEY" rel="alternate" title="ATOM" type="application/atom+xml" />
Changing the wrong hostname to the correct external hostname, the RSS/Atom is displayed correctly - only the link in the sourcecode is wrong.
In the view, the "auto_discovery_link_tag
" is used, but I couldn't find the definition in the sourcecode (I don't code ruby).
Any help is appreciated.
additional information:
- latest Redmine from
0.8-stable
-Branch - Redmine-Machine: Debian Lenny with mongrel_cluster, installed via
gem
- Proxy: apache2.2 running on Mac