Do not use absolute URL !
You should have this reference instead:
This is really important if you use redmine in a corporate environment where there is often a web server configure in a reverse proxy mode (example: apache httpd) in front of the web application (ex: redmine).
PS: Reverse Proxy http://en.wikipedia.org/wiki/Reverse_proxy
I found this issue while installing apache httpd behind redmine in an enterprise context. Here is my apache httpd configuration.
The problem with using absolute URL is that you break this process.
Because you’re using absolute URL it search for an unexisting resource
Absolute URL is like Crossing the Streams ... http://www.youtube.com/watch?v=8jJ2WnRjzWs
#2 Updated by Jean-Baptiste Barth about 11 years ago
I disagree, there's no real problem with that imho.
The problem you describe does not seem to be about using reverse proxying. Your problem is about using Redmine in a subdirectory ("/redmine/" in your case). It has been discussed here and here, you should read this articles first.
It's really easy with Mongrel and its "--prefix" option, but if you don't use Mongrel I strongly advice you change the URL from "www.yoursite.com/redmine/" to a subdomain with an apache virtual host, maybe "redmine.yoursite.com" or something like this.
#3 Updated by Jean-Philippe Lang about 11 years ago
- Status changed from New to Closed
- Affected version (unused) deleted (
Another solution: add the following line at the end of config/environment.rb:
ActionController::AbstractRequest.relative_url_root = "/redmine"
All links will be prefixed with "/redmine" which is what you need.