Crucible auto redirect on windows does not work

Sonia December 11, 2019

I following the instructions in couple links as below, but auto redirect does not work. Users will type "crucible.domain.com" then it'll redirect to https://crucible.domain.com in any browsers like chrome, EXP, Edge, firefox, etc.

Does someone have any idea? 

------------------------------------------------------

Changes I made:

(1) Cd C:\Atlassian\fecru-4.7.2\content\WEB-INF

Edit Web.xml:

Add this section to the bottom of web.xml:

<security-constraint>
  <web-resource-collection>
    <web-resource-name>Restricted URLs</web-resource-name>
    <url-pattern>/*</url-pattern>
  </web-resource-collection>
  <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  </user-data-constraint>
</security-constraint>

 

(2) Edit C:\Atlassian\fecru-4.7.2\content\WEB-INF\urlrewrite.xml

https://jira.atlassian.com/browse/FE-3920?focusedCommentId=299655&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-299655

<rule>
        <condition type="scheme" operator="notequal">https</condition>
        <condition name="host" operator="equal">crucible.domain.com</condition>
        <from>^/(.*)</from>
        <to type="permanent-redirect" last="true">https://crucible.domain.com/$1</to>
    </rule>

 

From <https://jira.atlassian.com/browse/FE-3920?focusedCommentId=299655&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-299655>

 

(3) edit c:\Atlassian\fecru-4.7.2\config.xml

     Comment out http bind=… as below:

     <web-server >

            <!-- <http bind=":6060"/> -->

       </web-server>

From <https://jira.atlassian.com/browse/FE-3920?focusedCommentId=299655&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-299655

(4) restart Crucible

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events