2022年1月26日星期三

Apache 403 Forbidden When Uploading Files

 Apaches module mod_security has a 60kb upload limit by default so any bigger upload will throw a 403 error code.

As the modsec.conf is only editable by the server provider, I add the following line to every root .htaccess:

SecFilterEngine Off

That turned off the mod_security filter in general.


mod_security !!!!!!!!!!!!!!!!!!!!!!



沒有留言:

發佈留言

image img vertical text align center

  < div > < img style = "vertical-align:middle" src = "https://via.placeholder.com/60x60" alt = "A gr...