You can host SvnBridge in IIS using the SvnBridge HTTP handler. The steps to configure IIS for SvnBridge hosting follow.

Note regarding debugging: because Integreated Windows authentication is disabled, you will not be able to use Visual Studio 2005's start with debugging feature. You will have to manually attach to the ASP.NET worker process to debug the web application.

IIS 5 (Windows XP)
  1. In the Internet Information Services administration console (Start -> Control Panel -> Administrative Tools -> Internet Information Services), open the properties dialog (Action menu -> Properties) for the root website or virtual directory in which you want to host SvnBridge.
  2. Click the "ASP.NET" tab and make sure the "ASP.NET version" input field is 2.0.50727 or greater.
  3. Click the "Home Directory" or "Virtual Directory" tab, then click the "Configuration..." button to open the "Application Configuration" dialog, and then click the "Add" button to add a new application mapping in the "Add/Edit Application Extension Mapping" dialog.
    1. For the "Executable" input field, enter or browse to the path for the ASP.NET 2.0 ISAPI DLL (usually c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll).
    2. For the "Extension" input field, enter ".*" (without the quotation marks).
    3. Uncheck the "Check that file exists" check box.
    4. Click the "OK" button to close the "Add/Edit Application Extension Mapping" dialog.
    5. Click the "OK" button to close the "Application Configuration" dialog.
  4. Click the "Directory Security" tab, then click the "Edit..." button to open the "Authentication Methods" dialog.
    1. Ensure that the "Anonymous access" check box is checked.
    2. Ensure that the "Basic authentication" check box is not checked.
    3. Ensure that the "Integrated Windows authentication" check box is not checked.
    4. Click the "OK" button to close the "Authentication Methods" dialog.
  5. Click the "OK" button to close the website's properties dialog.
  6. Copy the files from <Source Control Directory>/SvnBridgeViaIIS/ to the website's root directory.
  7. Modify the "TfsUrl" application setting in the web.config to contain your Team Foundation Server URL.

IIS 6
  1. In the Internet Information Services administration console (Start -> Control Panel -> Administrative Tools -> Internet Information Services), open the properties dialog (Action menu -> Properties) for the root website in which you want to host SvnBridge.
  2. Click the "ASP.NET" tab and make sure the "ASP.NET version" input field is 2.0.50727 or greater.
  3. Click the "Home Directory" or the "Virtual Directory" tab, then click the "Configuration..." button to open the "Application Configuration" dialog, and then click the "Add" button to add a new application mapping in the "Add/Edit Application Extension Mapping" dialog.
    1. For the "Executable" input field, enter or browse to the path for the ASP.NET 2.0 ISAPI DLL (usually c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll).
    2. Uncheck the "Verify that file exists" check box.
  4. Click the "Directory Security" tab, then click the "Edit..." button to open the "Authentication Methods" dialog.
    1. Ensure that the "Anonymous access" check box is checked.
    2. Ensure that the "Basic authentication" check box is not checked.
    3. Ensure that the "Integrated Windows authentication" check box is not checked.
    4. Click the "OK" button to close the "Authentication Methods" dialog.
  5. Click the "OK" button to close the website's properties dialog.
  6. Copy the files from <Source Control Directory>/SvnBridgeViaIIS/ to the website's root directory.
  7. Modify the "TfsUrl" application setting in the web.config to contain your Team Foundation Server URL.

IIS 7
SvnBridge hosting in IIS 7 has not yet been tested.

Last edited Mar 7, 2008 at 12:33 AM by Ayende, version 5

Comments

No comments yet.