apache tutorial - Using mod_security to enhance apache security - apache - apache web server - apache server - apache2




  • This module works as a firewall for Apache and allows you to monitor traffic in real time. It also prevents the web server from brute force attacks. The mod_security module could be installed with the default package manager of your distribution.
 Using mod_security to enhance apache security

Learn Apache - Apache tutorial - Using mod_security to enhance apache security - Apache examples - Apache programs

Limiting request size

  • Apache does not have any restriction on the total size of the http request that could lead to a DoS attack.
  • You can limit the request size of an Apache directive “LimitRequestBody” with the directory tag.
  • The value could be set anything from 0 to 2 GB (i.e. 2147483647 bytes) as per your requirement.
<Directory "/var/www/html/uploads">

   LimitRequestBody 512000

</Directory>
click below button to copy the code. By Apache tutorial team

Related Searches to Using mod_security to enhance apache security

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×