【发布时间】:2014-04-05 22:05:29
【问题描述】:
可以使用以下三种方法访问我的 MVC 应用程序:
http://domain-name/app - Images and JS files are not loading
http://server-name/app - All content files are loading perfectly
http://ip-address/app - Images and JS files are not loading
通过域名和IP地址访问时,图像和JS文件没有加载。所有内容文件都使用服务器名称完美加载。对此有什么想法吗?
【问题讨论】:
-
你能提供一些代码吗?
标签: javascript css asp.net-mvc iis model-view-controller