A Step by Step Guide to Hosting YouTrack in IIS 7 Posted on November 15, 2010 by Howard van Rooijen

1 of 11 12/27/2012 3:58 PM A Step by Step Guide to Hosting YouTrack in IIS 7 Posted on November 15, 2010 by Howard van Rooijen At endjin, we host our development infrastructure on Sleek Network s Virtual
of 11
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
1 of 11 12/27/2012 3:58 PM A Step by Step Guide to Hosting YouTrack in IIS 7 Posted on November 15, 2010 by Howard van Rooijen At endjin, we host our development infrastructure on Sleek Network s Virtual Private Servers, this provides us with a great mix of reliability, power and flexibility. Because we believe in working smarter, not harder, our Issue and Bug Tracker of choice is JetBrain s YouTrack. This is our second Step by Step Guide, which follows on from our previous Guide on Hosting TeamCity in IIS 7. We will be using the same server (and assuming you will be doing so too) thus we will not cover some of the initial IIS 7 component installation and configuration steps via the Web Platform Installer. If you are installing YouTrack on an empty Windows Server 2008 R2 environment please follow the steps as detailed in the Step by Step Guide on Hosting TeamCity in IIS 7. Firstly download the YouTrack Windows Installer (either the latest official release or if you re feeling experimental the latest EAP build). Double click the installer after a few moments you should see the welcome screen. Click Next : open source services people partners about contact Entries (RSS) Comments (RSS) Search Then read and agree to the License Agreement : 2 of 11 12/27/2012 3:58 PM Next you ll be shown the Choose Install Location screen, with the default install location: We like to keep all our applications in the same place (Program Files) so we modify the default location, taking into account that Windows Server 2008 R2 is a 64 bit machine, then click Next : You will then be shown the Choose Components screen select the defaults (Core + Windows Service) and click Next : 3 of 11 12/27/2012 3:58 PM Now the installer will start to unpack and install YouTrack. This may take a while: Once installed you will be asked to specify a port number for YouTrack. Like TeamCity, YouTrack installs a self contained instance of TomCat by default this will run on port 80 but as we already have IIS 7 installed which listens on port 80 we need to specify a custom port number: and we already have TeamCity installed which listens on port 8080 we need a different number so enter 8081, then 4 of 11 12/27/2012 3:58 PM click Next : The installer will ask if you want to start the YouTrack windows service, select the option and click Next : The installer has now finished it will ask if you would like to open the YouTrack web interface. This will launch on Click Finish : 5 of 11 12/27/2012 3:58 PM Now open up Internet Information Services (IIS) 7 Manager from the start menu (typing IIS is the fastest way to find the right version). Once open, expand the Server Farms node. You will see the TeamCity Server Farm instance we created in the previous Step by Step Guide. Right click on the Server Farms node and select Add New Server Farm : You will be presented with the Create Server Farm dialog: Enter YouTrack as the server farm name, then click Next : You will then be presented with the empty Add Server dialog. Click the Show advanced settings hyperlink: 6 of 11 12/27/2012 3:58 PM Enter as the server address and enter 8081 as the httpport number. Then click Add and then click Next : You will be prompted to create a new URL Rewrite rule. Click Yes : Now you should see that a new Server Farm called YouTrack is visible: 7 of 11 12/27/2012 3:58 PM Select the IIS server node in the left hand pane, then double click the URL Rewrite Icon in the right hand pane. you will see the following rules listed. Double click the ARR_YouTrack_loadbalance item: Expand the Conditions section: Click the Add Condition button. You will be shown the following dialog. Enter {HTTP_HOST} in the Condition input field and your custom subdomain (ours is in the Pattern field. Then click Ok Next, click Apply in the top right pane: 8 of 11 12/27/2012 3:58 PM on your local machine you should now be able to type your subdomain into the browser and you will be redirected to the next step in the YouTrack configuration process: Enter your license key, Url, admin password and accounts and click Save : 9 of 11 12/27/2012 3:58 PM You should now have a working installation of YouTrack available on your custom subdomain, with all requests routed via IIS 7: 10 of 11 12/27/2012 3:58 PM Work Smarter, Be Sociable, Share! Tweet 11 0 Share This entry was posted in Step by Step Guides and tagged Issue and Bug Tracking, JetBrains, Sleek, Step by Step Guides, Tools, YouTrack. Bookmark the permalink. A Step by Step Guide to Hosting TeamCity in IIS 7 A Step by Step Guide to MongoDB Developers Profile Sign in with Twitter Sign in with Facebook or Name Not published Website Comment Post It 2 Replies 2 Comments 0 Tweets 0 Facebook 0 Pingbacks Last reply was 10 months ago 1. Mark View December 5, 2011 To get this working on the same server as TeamCity, I had to change the shutdown port in the youtrack config file server.xml see this post: 2. Reply Michal View 10 months ago 11 of 11 12/27/2012 3:58 PM The instructions are good, however there s one caveat: all the youtrack pages that contain + character in the base url (i.e. before the? character) will not be passed by IIS to the youtrack and error 404 will be returned instead. For example you ll get 404 when trying to download any attachment that has space in filename, or edit an user group that has space in it s name. This is caused by IIS 7 treating + as dangerous character by default, and refusing all such requests. To change this behavior: - open IIS Manager, - click on server, - open IIS - Request Filtering, - click Rules tab - Edit Feature Settings, - check the Allow double escaping checkbox. Notes: - this will disable the filtering for whole server i.e. also for the other apps it may host. I haven t yet found a way to set this setting on webfarm level. Of course even if filtering is disabled on global level it can be re-enabled per each app, you ll just have to do it manually for each app - the option does more than just allow + in urls, so be sure to read about it in more details especially in case of internet-facing server Reply authors Howard van Rooijen Matthew Adams Mike Larah Steve Garnett categories ALM Apprenticeships DevOps Engineering Practices Good Causes Loosely Coupled REST Musings OSS Samples Step by Step Guides Uncategorized Work Smarter Not Harder blogroll endjin open source projects endjin's GitHub Account endjin blog work smarter
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks