How to redirect from https to http

Ram Chavan August 7, 2014

Hi All,

I am using JIRA with SSL using tomcat. I am going to remove SSL. After that i want any request to https://jirashould go to http://jira

Can i do this using JIRA tomcat?

5 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nikhil Rote February 8, 2017

Hi Ram I want to convert Http to https. My url is http://localhost:8080/. i want to convert it into https://localhost:8443/ . So can u please help me to convert. where should i change for this.

0 votes
Ram Chavan August 11, 2014

This rule working,

<rule>

<condition type="scheme" operator="equal">https</condition>

<condition name="host" operator="equal">example.com</condition>

<condition type="port" operator="equal">443</condition>

<from>^/(.*)</from>

<to type="permanent-redirect">http://example.com/$1</to>

</rule>

0 votes
Tiago Comasseto
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.
August 7, 2014

Hi Ram, sorry for that, I miss readed your question. I believe you can do the redirection using urlrewrite, but I'm not much familiar with the syntax.

I hope it helps.

Cheers

0 votes
Ram Chavan August 7, 2014

Hi Tiago, Thanks for the reply. I went through that code but it redirects from http to https. I want to redirect from https to http

0 votes
Tiago Comasseto
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.
August 7, 2014

Hi Ram, you can do this editing your web.xml file as in this doc.

Cheers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events