Recently, a customer said that his ecshop foreign trade shop in the background to update some databases when there are 403 errors:
403 Permission Denied
You don't have permission for this request/admin/article.php
The WEB server is Litespeed
The WEB server is Litespeed, I checked for several days did not find what is causing the problem, some articles can be normal updates, some articles update on the 403 error, I think it should be the content of the article, thought it was some special symbols caused, but the HTML code tags are removed, Content is plain text is still the same, but again casually input a few letters can normally save, but the original content is nothing special, really confused! Until just to find a solution, found a lot of people on the Litespeed server installed Phpwind also appeared 403 errors, their solution is in the. htaccess file Add the following code:
The code is as follows |
Copy Code |
Secfilterengine off Secfilterscanpost off |
So I also add to try, the result is all normal! The original server opened the security check, if the content submitted contains select,%, bin and other keywords, the server will be banned, and give 403,404,500 error