wp-media / imagify-plugin

Speed up your website with lighter images without losing quality.
https://imagify.io
73 stars 26 forks source link

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

Open markonikolic985 opened 4 years ago

markonikolic985 commented 4 years ago

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 commented 4 years ago

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

saranshj4 commented 4 months ago

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

tripflex commented 2 months ago
image

You are double loading staticContent should only one ever exist

tripflex commented 4 days ago

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

tripflex commented 4 days ago

@wordpressfan @MathieuLamiot @Khadreal @jeawhanlee @remyperona