Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Weird internal external url problem

Rumceisz
Contributor
June 25, 2012

Hi All,

we use 2 URLs for our Confluence: one is an internal which can be reached only from the company intranet, the other is an external which can be reached from everywhere.

We use version 4.2 Confluence.

The weird thing is that when we are on a page with the internal URL and we write a comment to the page, we push the Save button and the URL changes to the external URL! The Confluence doesn't logged us out, we are logged in henceforward. So it is not a blocking problem just a weird phenomenon.

What can be the cause?

Regards,
Rumi

3 answers

1 accepted

1 vote
Answer accepted
Alex Suslin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2012

Ask your system administrator to setup network in a way that your external url packets will be routed internally and use the single URL.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2012

Confluence only expects to run on one url and uses the "base url" to define it. It sounds like your base url is set to the external url, so Confluence is happily using it to generate the next url to go to after many actions.

There is no way to "fix" this inside Confluence, because it's not doing anything wrong. I'm not even sure you can fix this within your network - you could start messing around with Apache and rewriting urls (I'm out of my depth on that, I just know it can be done), but I really don't know how you'd get Apache (or any other web server) to detect when it should rewrite the internal/external url.

Rumceisz
Contributor
June 25, 2012

Hi Nic,

I agree, but why didn't occur the same phenomenon in the version 3.5.13? We have used 2 URL's since ages but never met the same problem. We just - last week - upgraded our Confluence to 4.2. Since then we ran into this.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2012

I don't know.

My best guess is that your network admins had set up something that was doing the rewrite for Confluence 3.5. The newer version of Confluence may have changed the url formats (noticably after completing actions?) so the old filters can't pick up the rewrites. But I really am guessing. On the 3.5 install in front of me, without any networky cleverness, I'm seeing exactly the behaviour you're getting on your 4.2 install, so I don't think it's Confluence at all.

0 votes
hsuhailah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2012

As a rule of thumb, you will need to have one single URL which matches the server base URL (Confluence Admin > General Configuration > Server Base URL) to get all the functions to work properly.

Rumceisz
Contributor
June 25, 2012

Hi Hanis,

I have a server Base URL which is the external URL.

Why is the URL changed when commenting? Confluence didn't do that before the upgrade (earlier version was 3.5.13).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events