Defect #792

Bad URLs for static pages when Redmine is not installed at the server's root

Added by Martin Kirchgessner almost 10 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-03-05
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:0.7
Resolution: Affected version:

Description

My Redmine installation runs fine on https://mydomain.com/redmine/. Redmine is running on a Mongrel cluster, behind Apache.

There is a "Help" link at the top right of the wiki edition page:

<%= link_to l(:label_help), '/help/wiki_syntax.html',
                            :onclick => "window.open('#{ url_for '/help/wiki_syntax.html' }', '', 'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes'); return false;" %>

So when I click on "Help" my browser goes to https://mydomain.com/help/wiki_syntax.html, which of course gives a 404 error.

Note that https://mydomain.com/redmine/help/wiki_syntaxt.html works but all contained images also have erroneous URLs.

History

#1 Updated by Jean-Philippe Lang almost 10 years ago

  • Status changed from New to Resolved

This problem is fixed in the latest code.

#2 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from Resolved to Closed
  • Target version set to 0.7

Also available in: Atom PDF