IIS Proxying to Stash

I just installed and configured Stash and it is running at its default location of localhost:7990. I am able to access this locally without any problems. In order to proxy remote requests to Stash I set up IIS to reverse proxy all request to www.domain.com/stash/ to localhost:7990. I acheived this through IIS URL Rewrite without changing any of the configurations of Stash's Tomcat. If I navigate to the www.domain.com/stash/ the page appears and everything seems like it's working fine. However when I go to the Administration panel and try to configure specific settings, i.e. Application Links, it seems as though (looking at Chrome's Developer Tools) that the some resources referencing www.domain.com/* instead of www.domain.com/stash/* which causes the page not to load. Additionally, if I try to save any of the settings in i.e. Server Settings instead of redirecting me back to the current page and saving the settings it redirects me back to www.domain.com/*. As a result of these errors I get 404 errors and other wierd page loading artifacts. Is there anyway to get this to functioning correctly without having to change the context of Stash, this being routing everything to and from www.domain.com/stash/*?

2 answers

1 accepted

Looks like the context path fixed it.

Looks like adding the context path fixed it.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

438 views 83 11
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