localhot에서 완벽하게 작동하는 URLRewriter를 얻었지만 프로덕션 환경에서는 404 오류가 발생합니다.URL Rewriter는 로컬 호스트에서 작동하지만 프로덕션 서버에서는 작동하지 않습니다.
IIS 6을 사용하고 있으며이 내용을 읽어야 제대로 작동합니다. 여기
내가 내 Web.config의에있는 것입니다 :
<rewriter>
<rewrite url="~/(\d+)$" to="~/Items/Details.aspx?ItemId=$1" />
<rewrite url="~/Items/(\d+)$" to="~/Items/Details.aspx?ItemIId=$1" />
</rewriter>
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/>
</httpModules>
사람이 비슷한 문제를 가지고 있었고, 그것을 해결 했습니까?
감사합니다.
UrlRewriter DLL이 프로덕션 서버에 제대로 설치되어 있습니까? Windows 이벤트 로그에 오류가 표시됩니까? – RickNZ
설치되어 있습니까? 그것은 빈에 들어갑니다. 어떤 설치? –