Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I set the path on which Redmine should be run, e.g. instead of There is an appropriately named option in the settings panel, but it serves a different purpose, according to the documentation and experimental observations (it is used to write URL in emails sent to users).

A wider picture: I need this in order to properly serve Redmine on port 80 over Apache's mod_proxy (i.e. at The problem is that when running it on /, the home page fails to load the necessary resources (such as JavaScript and CSS files). Any workarounds?

share|improve this question
up vote 2 down vote accepted

I made use of the Proxy-HTML module:

    ProxyPass /redmine
    ProxyHTMLURLMap /redmine
    <Location /redmine>
        SetOutputFilter proxy-html
        ProxyHTMLURLMap /               /redmine/
        ProxyHTMLURLMap /redmine/       /redmine
share|improve this answer

The usage of output filters is actually a bad idea, as I can't work everywhere.

A better idea would be to instruct your app-server (mongrel, thin, whatever) to tell Rails the base URL where the app is deployed. That way, Rails can directly generate the correct links. This can be done by appending --prefix /redmine to the app-server parameters.

In the cluster.xml file used by mongrel_cluster, the same can be accomplished by inserting

prefix: /redmine

into it. (at least, I believe this syntax is correct)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.