Oneiroi/apachebuddy.pl — pull request #1 by DamianZaremba (2011-12-12 07:05:30+00:00)
Title: Some fixes

A handful of fixes that where required to get it to run on a random apache server I had laying around + some tidying up (=

The current include checking takes a LOT longer if you are running things like mod_security, due to most the lines having "Include" in the rule set somewhere. Checking if "include" is specified with only a possibility of whitespace in front cuts down the line processing time substantially.

The other fixes are mainly around Apache defaults/config funkyness.
* Maxclients default can be found here -> http://httpd.apache.org/docs/2.0/mod/mpm_common.html#maxclients
* Allowing includes of directory paths can be found here -> http://httpd.apache.org/docs/current/mod/core.html#include

The ls fix comes into it's own when the globs match no files, without it where was about 200lines of no files spam :(

Hope this helps a little.