Log In - destination is wrong

Hi, I have following difficulties in logging in trough "Ask question" button:

image2015-2-25 13:40:15.png

Here is how this happens:

image2015-2-25 13:30:59.png

Here is source code of the destination of the "Log in" -button

image2015-2-25 13:29:33.png

It seems that somehow the corrupted:

<a class="aui-button cq-login" href="/login.action?os_destination=%252Fquestions" tabindex="0">Log in</a>

 Any Ideas how to fix this? We are running Confluence 5.7 and Questions 1.1.47 on linux.


3 answers

1 accepted

Finally got working work around:

#Fix invalid url in login trought Ask question -button.
AllowEncodedSlashes on
RewriteEngine on
RewriteRule ^/(.)questions$ /questions [R]

I have the same behaviour. Confluence is not running behind an Apache so that I don't see the possibility to put the rewrite code of Simo Suurla in any configuration file.

It is a really confusing behaviour.

Do I really have to configure an Apache to rewrite the mistaken url ?

0 vote

Hmm.  Is the base url in Confluence set correctly?

It seems to be right.

Ok, that's the easy one confirmed, just needed to rule that out as a problem. Two more questions 1) Are you sure questions is installed and activated ok? Could you try https://conflu-test kela fi/questions and see if that does take you to questions (Note that I removed some dot from the url to avoid any robots picking it up and spamming you) 2) Are you running it behind Apache?

Yes, I think installation is fine because everything else is working. If I am logged in already there is no problem. Yes, we are running this behind Apache. But I have not noticed this kind any ware in Confluence before.

Ahh, that's not quite what I was going for, but I have seen problems with redirects in Apache doing that. I think I found it was a broken redirect when I ran into it, but I'm sure there were other ways to configure apache to get it wrong!

ProxyPass / http://localhost:8090/ ProxyPassReverse / http://localhost:8090/ #also tried this but did not help.. Redirect /%2Fquestions https://conflu-test.kela.fi/questions </VirtualHost>

This issue is logged under https://jira.atlassian.com/browse/CQ-1813

I upvoted this one.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

82 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you