I would like to ask about a problem that I have been experiencing with IIS.
Let's say that I deploy my site in C:wwwRoot / MyProjectName / (todos los archivos de sitio aquí )
. The deployment seems to work without any problem.
Then when I go to the browser and try http : //MyServerIp/MyProjectName/index.html
, the start site starts loading, but when I check the chrome console all the resources included in index.html (CSS, JS), throw an error saying that:
Http: //MyServerIp/SomeFile.js I experience an error while trying to get the resource, because the file could not be found.
Of course, the problem is because the site should be looking for these files at: http : //MyServerIp/MyProjectName/SomeFile.js
.
So for some reason IIS is removing the: MyProjectName from the route.
The site is a C # based site with AngularJS.
I hope someone can help me.
Thanks!