Umbraco 目录 url 出现 404 错误
我想为我正在处理的 Umbraco 项目启用 Umbraco 目录 URL。我已将 umbracoUseDirectoryUrls
配置设置设置为 true。不幸的是,我现在在没有扩展名的所有页面上都收到 404 错误(扩展名仍然有效)。以下是配置详细信息:
- Windows 7 x64 上的 IIS 7.5
- Umbraco 版本 4.0.1
- 应用程序池在 .Net 2.0 经典模式下运行
- 我在 IIS 中添加了一个通配符脚本映射到
aspnet_isapi.dll
之前StaticFile 处理程序
404 错误始终源自 StaticFile 处理程序。我不明白为什么它不通过 isapi 处理程序。
不幸的是,我目前无法升级 Umbraco、更改为集成模式或更改为 .NET 4。
I'd like to enabled Umbraco directory urls for an Umbraco project I'm working on. I've set the umbracoUseDirectoryUrls
config setting to true. Unfortunately I'm now getting 404 errors on all pages without extension (with extension they're still working). Below are the configuration details:
- IIS 7.5 on Windows 7 x64
- Umbraco version 4.0.1
- Application pool is running in .Net 2.0 classic mode
- I've added a wildcart script mapping in IIS to
aspnet_isapi.dll
before the StaticFile handler
The 404 error always originates from the StaticFile handler. I don't understand why it doesn't go through the isapi handler.
Unfortunately I will not be able to upgrade Umbraco, change to integrated mode, or change to .NET 4 at this moment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将 usedirectoryurls 设置为 true 后尝试“重新发布整个网站”?右键单击内容部分的内容节点即可找到
tried "republish entire site" after setting the usedirectoryurls to true ? You can find it when right clicking the content node in the content section
它可能与其他一些配置设置有关。在我开始使用原始的 Umbraco web.config 后,我能够切换到集成模式,这使一切变得更加容易。
It probably had something to do with some other configuration setting. After I started with an original Umbraco web.config I was able to switch to integrated mode, which made everything a lot easier.