title: Sharepoint 2013 /ScriptResource.axd?d= and /WebResource.axd? 404 not found
body: <p>I have a Sharepoint 2013 Farm  with name </p>
  
  <p>dev22 and I have created a site collection with this url <code>http://dev22/test/site1</code></p>
  
  <p>And I have added a rule on TMG to redirect the url <code>http://dev22/test/site1</code> to  <code>https://mydomaine/test/site1</code></p>
  
  <p>But the problem I get the error 404 for /ScriptResource.axd?d= and /WebResource.axd?
   because he search the resources on my root domaine </p>
  
  <p><a href="https://mydomaine.com/ScriptResource.axd?d=" rel="nofollow">https://mydomaine.com/ScriptResource.axd?d=</a>
  instead 
  <a href="https://mydomaine.com/test/site1/ScriptResource.axd?d=" rel="nofollow">https://mydomaine.com/test/site1/ScriptResource.axd?d=</a></p>
  
  <p>any help please?</p>