Jira Servicedesk apache proxy redirect Edited

RUNCIE I'm New Here Oct 11, 2017

Im trying to redirect http://localhost:8080/servicedesk/customer/user/login?destination=portals to www.mydomain.com but it redirected me to "

Oops, you've found a dead link. " page instead. 

Here's my apache config.

<VirtualHost *:80>
ServerName www.myowndomain.com

ProxyRequests Off
ProxyVia Block
ProxyPreserveHost On

<Proxy *>
Order deny,allow
Allow from All
</Proxy>

ProxyPass / http://localhost:8080/servicedesk/customer/user/login?destination=portals 
ProxyPassReverse / http://localhost:8080/servicedesk/customer/user/login?destination=portals 

</VirtualHost>

Any ideas ?

1 answer

0 votes
Gonchik Tsymzhitov Community Champion Oct 11, 2017

Hi! 

Could you change this section? 


ProxyPass / http://localhost:8080/servicedesk/customer/user/login?destination=portals 
ProxyPassReverse / http://localhost:8080/servicedesk/customer/user/login?destination=portals 

to 


ProxyPass / http://localhost:8080/servicedesk/ 
ProxyPassReverse / http://localhost:8080/servicedesk/ 

2. Or you can change context path and create simply proxy_pass.

Below this docs: https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html

https://confluence.atlassian.com/jirakb/how-to-customize-customer-portal-url-in-jira-service-desk-server-847755218.html

https://community.atlassian.com/t5/Jira-Service-Desk-questions/Friendly-URL-for-Service-Desk/qaq-p/47601

 

I hope it will be helped  you.

 

Cheers, 

Gonchik Tsymzhitov

Those proxy paths are not going to work, because Service Desk lives within Jira, and you need to set the base url for the external source.  So where you've got .../servicedesk/ that will be a base url and your service desk portals  will be under .../servicedesk/customer/...etc...

To redirect your service desk outside that, you will need to do rewrites in your Tomcat install, which Gonchik has given you the doc links for

RUNCIE I'm New Here Oct 12, 2017

Hi guys, I tried number 1. It doesn't work and still getting "dead link" page. So I tried number 2, with amendments on the class and adding the rewrite config according to the guide. It works, but not exactly what i have in mind. I still have to put in port 8080 along with the domain. I want my users to just put in the domain and open up the servicedesk login page. 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,880 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot