简体   繁体   中英

Block file in IIS 7.5

I'm still really a amateur in IIS and I want to be able to block out this file (favicon.ico) from beeing requested.

I don't know where to go from this screen: 在此处输入图片说明

You can't block something from being requested but you can deny the response. In the IIS section of your screenshot click on Request Filtering . Then click the URL tab and add a rule such as /favicon.ico . This will force IIS to return a 404 for that URL.

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