Mobile app version of vmapp.org
Login or Join
Correia994

: Force IIS to reload URL Rewrite Rules I did a change to the URL Rewrite rules to prevent hotlinking to pictures and uploaded the Rules.Config to my site. However, it didn't work so I rolled

@Correia994

Posted in: #Iis #UrlRewriting

I did a change to the URL Rewrite rules to prevent hotlinking to pictures and uploaded the Rules.Config to my site. However, it didn't work so I rolled the change back and reload web.config.

However, the rule which is wrong is still being "employed" by IIS, its as if IIS isn't re-reading the rule. How do I force IIS to re-read the rules, it didn't the first time but not now.

I'm on a shared server.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Correia994

2 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

Those changes should apply instantly. Maybe what's happening to you is an effect of the client-side cache of the browser.

If you had already downloaded the images before establishing the new rule, they are cached by default and the rule doesn't seem to work, but it's working.

Try to reload the image with CTRL+R instead of simply revisiting their URL, and it should work.

10% popularity Vote Up Vote Down


 

@Courtney195

These changes should take effect immediately. Try restarting the website from the IIS Manager.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme