Skip to content

Instantly share code, notes, and snippets.

@marzzz21
Created November 30, 2016 08:52
Show Gist options
  • Save marzzz21/70ad75949a3afc58fe31236cf7261a79 to your computer and use it in GitHub Desktop.
Save marzzz21/70ad75949a3afc58fe31236cf7261a79 to your computer and use it in GitHub Desktop.
# This module will not function unless mod_status is loaded and the
# "ExtendedStatus On" directive is set. So load only if mod_status is too.
<IfModule mod_status.c>
# This is always needed
ExtendedStatus On
# A global default configuration doesn't make much sense. See the README
# from the mod_limitipconn package for configuration examples.
<Directory /var/www/html/*/ >
MaxConnPerIP 150
# exempting images from the connection limit is often a good
# idea if your web page has lots of inline images, since these
# pages often generate a flurry of concurrent image requests
#NoIPLimit image/*
</Directory>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment