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

Accepted Answer
0 votes

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 votes

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
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

269 views 0 6
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