简体   繁体   中英

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 )

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

I searched google there is HTTP redirect module 在此处输入图片说明

I tried this but it still does not work It does not redirect non www to www it give that error in non www

在此处输入图片说明

我只是忘记通过http://yazilimsozluk.com/http-error-404将非www版本添加到IIS网站绑定中

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM