0
내 프로젝트에서 URL 재 작성을 활성화하는 방법. URL 재 작성을 설치했는데 IIS에서 확인했습니다.asp.net 활성화 URL 재 작성 IIS7
내 web.config 파일에 간단한 규칙을 추가하면 예. 규칙은 URL에서의 default.aspx를 제거하거나 URL을 소문자
<configuration>
<system.web>
<compilation debug="false" targetFramework="4.0" />
</system.web>
<system.webServer>
<rewrite>
<rules>
<rule name="LowerCaseRule1" stopProcessing="true">
<match url="[A-Z]" ignoreCase="false" />
<action type="Redirect" url="{ToLower:{URL}}" />
</rule>
<rule name="Default Document" stopProcessing="true">
<match url="(.*)Default.aspx" />
<action type="Redirect" url="{R:1}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
을 내가 프로젝트를 실행할 때 작동하지 않는 규칙, 제발 조언은, 내가 시도하지 않은 당신에게