Project

General

Profile

Actions

Defect #2813

closed

wrong hostname for atom-links

Added by Anton Dollmaier over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-02-23
Due date:
% Done:

100%

Estimated time:
Resolution:
Affected version:

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&amp;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
Actions

Also available in: Atom PDF