Integrating Redmine into existing website
Added by Brad Schick about 16 years ago
I am successfully running Redmine with the following configuration:
Apache Proxypass -> Mongrel/Redmine
This is running under its own host name within my domain (like "http://dev.domain.com"). This works well, but for another install I'd like to integrate Redmine with an existing website accessible in a subdirectory (like "http://domain.com/dev"). I tried this already, but Redmine unfortunately spits out URIs with absolute paths, so the links are all broken. A few questions:
- Is it possible to make Redmine render relative URIs or recognize that it is not located at the root of a website?
- If not, is the only solution to using something like mod_proxy_html to rewrite the output html?
Replies (2)
RE: Integrating Redmine into existing website - Added by Jean-Baptiste Barth about 16 years ago
Mongrel has a "--prefix" option at start which allow you to run an app in a subdirectory. You should look at mongrel's doc.
Maybe you should also look at this thread where we discuss about a similar problem.
RE: Integrating Redmine into existing website - Added by Brad Schick about 16 years ago
It didn't occur to me that the issue would be with Mongrel or Rails, but that make sense. Thanks.