Error "500 - Internal server error." when accessing Jira through IIS 7 Url Rewrite Reverse Proxy

Recently I have been trying to set up a URL Rewrite using IIS7 and URL Rewrite 2.0 to rewrite the URL:
http://jira.example.com.au:8081
to
http://jira.example.com.au

This process is successful for Confluence, redirecting:
http://confluence.example.com.au:8090
to
http://confluence.example.com.au

The jira website does respond, and will even go as far to append the /secure/dashboard to the redirected URL.
It then however displays the message

Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.


Now I have tried to use the following links:
https://answers.atlassian.com/questions/28873/configure-iis-to-forward-requests-to-confluence-along-with-jira-subdomain

https://confluence.atlassian.com/display/JIRA044/Integrating+JIRA+with+IIS

https://confluence.atlassian.com/display/JIRA044/Integrating+JIRA+with+Apache

https://confluence.atlassian.com/display/JIRA/Configuring+Apache+Reverse+Proxy+Using+the+AJP+Protocol


I have also tried the answer
https://confluence.atlassian.com/display/JIRAKB/Integrating+JIRA+with+IIS+using+ARR


But also to no avail.

I have also tried using the AJP connection, unsuccessfully mind you.

I know it is redirecting correctly (since confluence works well) but i cant find any setting i can change to allow these requests to go through to jira.

Please help! :)

2 answers

0 votes

Have you set the proxyHost and proxyPort in the server.xml? What is the stack trace in the server logs?

Indeed i have set the proxyHost and proxyPort. This actually causes the instance on http://jira.example.com.au:8081 to display a "Service is running on an unknown port"

and display "500" errors in the gadget placeholders.

http://jira.example.com.au Still displays "500" error.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

50 views 0 2
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