嘿傢伙正在使用Umbraco 4.7和我的服務器是IIS7想知道什麼是不適合我。我基本上想製作一個自定義錯誤頁面(404),並且我嘗試的所有內容都無法正常工作,檢查了論壇,但它仍然顯示相同的問題。Umbraco自定義404錯誤頁面不工作
我已經編輯我的umbracoSettings.config
<errors>
<!-- the id of the page that should be shown if the page is not found -->
<!-- <errorPage culture="default">1647</errorPage> -->
<!-- <errorPage culture="en-US">1647</errorPage> -->
<error404>1647</error404>
</errors>
而且我已經看過有關說法添加這web.config文件。
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" prefixLanguageFilePath="" path="/error.aspx" responseMode="ExecuteURL" />
</httpErrors>
任何幫助將不勝感激。我是IIS的完全新手,涉及網絡設置。
感謝 保羅
管理解決此問題,轉到IIS>站點> Mywebsite>錯誤頁面> 404>編輯功能設置>將本地請求更改爲詳細的錯誤。它的工作。 –