redmine 2.1.2 after login it get encoded broken url
Added by Christian Kiesel over 11 years ago
Hi everybody,
I hope this gonna be the last question for a while.
Now everything is running fine expect login.
If log in with the url:
http://172.18.0.10which ist my redmine-host
I Get a wrong redirect.
http://172.18.0.10http%3a%2f%2f172.18.0.10%2f/ I think this came from the Url Parameter back_url --> https://172.18.0.10//login?*back_url=http%253A%252F%252F172.18.0.10%252F*
delete the encoded url part then I am logged in.
If I use this url
http://172.18.0.10/logindirect then I wont be redirected before login to that URL with the back_url Parameter
then I will be redirected to
https://172.18.0.10//my/page
Can anybody tell me how to fix this?
I know this is very easy to handle just to use the other URL with /login but we are an education center with a lot of trainer and I would be great
if I could fix this issue so that we can offer the service just to type dnsname in Browser
Replies (1)
RE: redmine 2.1.2 after login it get encoded broken url - Added by Christian Kiesel over 11 years ago
fixed it on a Debian box by:
type command on shell
a2enmod headers
and put the following line in apache config in Virtualhost context
RequestHeader set X-Forwarded-Proto "https"
after that:
service apache2 restart