My site is hosted on a shared hosting environment through GoDaddy.
I have thousands of images in an image folder, and whenever I try to access the image path through the modx browser, my site crashes.
Tech support has said: "We have confirmed this problem is due to modsecurity rules in place to protect the server and websites from automated attacks. In this case we have found from the server's error logs that there are 60 requests per second hitting the server to your php scripts. This was detected as a flood and blocked. You will need to check your site's scripting to determine why such a large amount of traffic occurs."
So what I believe is happening is that phpthumb is re-sizing all the images in that folder. And since there are thousands, it has to do it thousands of times and its tripping mod_security.
I would like to disable phpthumb temporarily for the modx browser so I can use my site again and start uploading/creating new pages.
Any idea on how I can disable phpthumb for the modx browser? Or any other solutions?
Keep in mind I plan to move the site to a dedicated/virtual plan, but I need to have a short term solution in the mean time since it will take me many hours to move the site.
-
☆ A M B ☆
- 2,213 Posts
I would recommend switching away from GoDaddy hosting, their servers don't tend to like or work well with MODX. That being said there isn't really a method to disable the thumbnail generation. You could avoid using the file manager which would avoid the problem.
You might consider switching to a more MODX friendly host such as the ones listed here:
http://modx.com/services/ They will even help move your site, and depending on the method used it can typically be completed within an hour.