0
asp.net3.5 웹 사이트에서 iis.After에이 사이트를 배포하려고합니다. 기본 페이지를 다른 페이지로 리디렉션 할 수 없습니다. 페이지가 리디렉션되지 않는 이유를 이해하는 데 도움이 필요합니다. 내 기본 페이지는이있는 경우 웹 사이트는 3.5Context.RewritePath 메서드가 iis에서 작동하지 않는 이유
에 개발 Context.RewritePath하지 working.my 서버 버전은 Windows Server 2008 R2의이 방법은 IIS에서 7.0 이유
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
Response.Write("hello")
Context.RewritePath("~/asp/Default.aspx", False)
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
도움이 필요하다 쿼리 plz, 고마워요.