imagify-plugin icon indicating copy to clipboard operation
imagify-plugin copied to clipboard

Check if rules already exist in IIS (Windows) web.config file

Open markonikolic985 opened this issue 5 years ago • 5 comments

When we add rules to IIS config file, we don't check if rules already exist. If it does, it breaks things and users get 500 error.

Example ticket can be found here. Once they removed rules manually, it started working.

I haven't seen the full code of their web.config file so maybe we should test it on our end to confirm it will break things by default.

markonikolic985 avatar Aug 24 '20 08:08 markonikolic985

There is another case. This user shared the code so it might be useful for checking.

markonikolic985 avatar Sep 10 '20 12:09 markonikolic985

https://secure.helpscout.net/conversation/2641363511/500464/ https://secure.helpscout.net/conversation/2578909533/488158/ https://secure.helpscout.net/conversation/2499684228/472913/ https://secure.helpscout.net/conversation/2546667216/482302/ https://secure.helpscout.net/conversation/2443172507/461813/ https://secure.helpscout.net/conversation/2385590103/447528/ https://secure.helpscout.net/conversation/2156677490/401311/

and few more with tag - img_iis

saranshj4 avatar Jul 03 '24 03:07 saranshj4

image

You are double loading staticContent should only one ever exist

tripflex avatar Sep 12 '24 20:09 tripflex

How has this still not been resolved? This completely takes a site down whenever you activate this

tripflex avatar Nov 13 '24 04:11 tripflex

@wordpressfan @MathieuLamiot @Khadreal @jeawhanlee @remyperona

tripflex avatar Nov 13 '24 04:11 tripflex