title: SignalR Negotiate 404
body: <p>I am using SignalR 2.0. Everything works fine when running locally on my VS 2012. But when I publish the site on IIS, it breaks. The site loads but one of the scripts returns 404 Not Found. The script is something like.</p>
  
  <blockquote>
    <p><a href="https://example.com/signalr/negotiate?xxx" rel="noreferrer">https://example.com/signalr/negotiate?xxx</a></p>
  </blockquote>
  
  <p>This path doesn't exist indeed. The correct path should be:</p>
  
  <blockquote>
    <p><a href="https://example.com" rel="noreferrer">https://example.com</a><strong>/private</strong>/signalr/negotiate?xxx</p>
  </blockquote>
  
  <p>Note the part in bold.</p>
  
  <p>Inside the WebSite (<a href="https://example.com/" rel="noreferrer">https://example.com/</a>) I have another Application (<a href="https://example.com/private/" rel="noreferrer">https://example.com/private/</a>). This one is using SignalR.</p>
  
  <p>This seems like a bug in SignalR since the signalr/hubs path is accessible from my private site.</p>