Defect #1628
redmine sends http on forms on https server
| Status: | Closed | Start: | 2008-07-12 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Affected version: | Resolution: | Invalid |
||
Description
I have the following configuration:
Glassfish v2UR2
jruby 1.1.2
rails 2.0.2
I have a http-listener on port 443 with security enabled.
Applications like xwiki, spree (rails shopping system) and others work fine.
redmine is supposed to be the root application on the system.
I had it all running fine with redmine-0.7.0 and updated to 0.7-stable from svn (I am running revision 1651). Now https://mywebserver/ redirects to http://mywebserver/login which of course does not exist.
When I manage to login by changing urls by hand, website links work fine, but all forms, like creating issues etc, still try to send to a http address instead of a https address.
THis was nt happening with 0.7.0
Related issues
| related to Defect #1145 | https - not all links use https but http | Closed | 2008-04-29 | ||
| related to Defect #672 | https and some application part | Closed | 2008-02-15 |
History
Updated by Liwiusz Ociepa 176 days ago
protocol: default: https
Maybe it was changed by svn update?
Updated by Jean-Philippe Lang 176 days ago
Liwiusz, this setting has nothing to do with redirects.
It's only used to generate links in emails.
Updated by Andre Meij 161 days ago
I had the same issue, I use apache forwarding to mongrel, where apache talks http to mongrel, this confuses mongrel into rewriting all urls to http.
For me the fix was adding this:
RequestHeader set X_FORWARDED_PROTO 'https'
In the apache config before the rewrite proxy rule
Hope this helps
Updated by Eric Davis 74 days ago
- Status changed from New to Closed
- % Done changed from 0 to 100
- Resolution set to Invalid
Closing, issue is caused by a misconfigured web server and author hasn't responded. Reopen the issue if you are still having problems and please include any webserver configuration configuration. Thanks.