康布尔 2, 404 错误
我正在尝试让combres在IIS 7上使用我的.net 4 Web表单。
一切都在本地工作,但是当站点上线时,以下路径会出现404错误
www.mydomain.co.uk/combres.axd/siteCss/-1938526509/
,但是如果我删除最后的/,它就可以工作。
www.mydomain.co.uk/combres.axd/siteCss/-1938526509
我该如何解决这个问题?
Am trying to get combres working with my .net 4 web form on IIS 7.
Everything is working locally, however when made the site live the following path comes up with 404 error
www.mydomain.co.uk/combres.axd/siteCss/-1938526509/
But if i remove the / at the end it works.
www.mydomain.co.uk/combres.axd/siteCss/-1938526509
How can I fix this problem ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在您的 Combres.xml 文件中,您可能将 defaultDebugEnabled 设置为 false。这导致它可以在本地工作,但会在实时情况下生成类似的 URL。将其设置为自动,它应该可以工作。
In your combres.xml file you probably have defaultDebugEnabled set to false. This leads it to work on local but generates urls like these on live. Set it to auto and it should work.