Page redirect

Approver1 November 11, 2019

Hi, 

Recently we installed JIRA (v8.1.0) & Crowd (v3.7.0) in Linux environment. 

In JIRA, i have redirect the page from

http://IPaddress:8080 to https://jira1.abcxyz.org/jira

In crowd, i'm unable to redirect from

http://IPAddress:8095/crowd to https://jira1.abcxyz.org/crowd. 

JIRA and crowd both are in one server. 

can you please suugest us. how to do this.

 

1 answer

0 votes
Amith Mathur {Appfire}
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.
November 11, 2019

Hi @Approver1 , 

Can you please confirm if you are using the apache to redirect JIRA from one url to another or using any apps to do so? 

Thanks,

Amith Mathur

Approver1 November 12, 2019

HI @Amith Mathur {Appfire} 

Apache to redirect JIRA

Our IT Team did some thing in Server to redirect the URL (https://jira1.abcxyz.org). 

I have updated in server.xml in JIRA. So JIRA URL is working fine. 

But im unable to redirect the crowd base http://IPAddress:8095/crowd to https://jira1.abcxyz.org/crowd

In crowd also i have updated in server.xml but i won't work. 

Amith Mathur {Appfire}
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.
November 18, 2019

Hi @Approver1 , 

Does the Apache's vhost configuration has the same configuration for the Crowd redirection as the JIRA has? 

What is the configuration you have kept in the server.xml file ?

Thanks,

Amith Mathur

Approver1 November 19, 2019

<?xml version="1.0" encoding="UTF-8"?>
<Server port="8020" shutdown="SHUTDOWN">

<Service name="Catalina">

<Connector acceptCount="100"
connectionTimeout="20000"
disableUploadTimeout="true"
enableLookups="false"
maxHttpHeaderSize="8192"
maxThreads="150"
minSpareThreads="25"
port="8095"
redirectPort="8443"
scheme="https"
proxyName="jira.XXXXXXX.XXXX/crowd"
proxyPort="443"
secure="true"
useBodyEncodingForURI="true"
URIEncoding="UTF-8"
compression="on"
sendReasonPhrase="true"
compressableMimeType="text/html,text/xml,application/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript" />
<Engine defaultHost="localhost" name="Catalina">
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true"/>
</Engine>

<!-- To connect to an external web server (typically Apache) -->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!--
<Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
-->
</Service>

<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<!-- <Listener className="org.apache.catalina.core.JasperListener" /> -->
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />

</Server>

Approver1 November 19, 2019

@Amith Mathur {Appfire} 

Above i copied server.xml in crowd. 

Please check and let me know, if i need to change in xml file. 

Suggest an answer

Log in or Sign up to answer