Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,323,832
Community Members
 
Community Events
168
Community Groups

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

0 votes
Answer 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 ?

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

I upvoted this one.

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>

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

4 Amazing Product and Project Management Apps compete for Best App Demo in July Appy Hours 🥳

Thanks so much to everyone who joined for our July Appy Hours! Product and project management presenter highlights  Checkout - Procurement and asset manager, presented by @Vincent Mutambuki ...

99 views 1 10
Read article

Atlassian Community Events