Instance details: Confluence running as a windows service on windows server 2008 R2. Using Microsoft SQL server 2008.
We ran into an issue with our previous baseurl in regards to Oauth. A suggestion we followed was to modify the baseurl to reflect the fully qualified name of the DNS entry we made a long time ago. IE. http://wiki => http://wiki.<companyname>.com. But now we run into problems with links that use http://wiki/<rest of the link>. When a user is logged in at http://wiki.<companyname>.com, and they follow the link with just http://wiki, they are prompted to log in again. There is no clear answer in the community about how is this remedied so far.
I was able to dig through answers.atlassian.com and found a question very similar to mine:
https://community.atlassian.com/t5/JIRA-questions/Force-Jira-redirection-to-single-domain/qaq-p/367761#M197151
This put me on the right path. urlrewrite is a great tool if you know what your are doing. It helps if you know a web developer to assist with this. Here is the manual for urlrewrite:
http://cdn.rawgit.com/paultuckey/urlrewritefilter/master/src/doc/manual/4.0/index.html
For my Solution, follow my first link and review Jim Burch's answer.
Please see this doc, I think it's just what you are looking for:
How Do I replace all 'hard' links to my old Base URL
Hi Ann,
Unfortunately, I am not using Linux in any of my instances. so the sed commands in the doc you suggested.
Option 2 looks close, and I am willing to try, but my question with that would become a DBA question in regards to reinjesting a txt file to a database. Do know anyone who has confirmed this works?
It would be best to have a top level redirect that takes the existing link and redirects it to the new base url.
Thank you for following up, it really makes the community better when the Questions are solved.
It looks like you're new here. Sign in or register to get started.