[英]IIS 8.5 URL Rewrite non-www to www not working
I upgrade my IIS to IIS 8.5 and in IIS 8.5 global asax begin request not firing(I asked here: Global.asax Application_BeginRequest not firing After reinstall Server ) 我将IIS升级到IIS 8.5,并且在IIS 8.5中,全局asax开始请求未触发(我在这里询问: Global.asax Application_BeginRequest在重新安装Server后未触发 )
In global asax begin request I check if URL is non www.If it is non www I just redirect to www...But begin request not firing in IIS 8.5 在全局asax开始请求中,我检查URL是否不是www。如果不是非www,我只是重定向到www ...但是开始请求在IIS 8.5中不触发
I searched google there is HTTP redirect module 我搜索谷歌有HTTP重定向模块
I tried this but it still does not work It does not redirect non www to www it give that error in non www 我尝试了此操作,但仍然无法正常工作,它无法将非www重定向到www,但在非www中给出了该错误
我只是忘记通过http://yazilimsozluk.com/http-error-404将非www版本添加到IIS网站绑定中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.