Etiqueta: apache

This package includes a script and fail2ban configuration that allows you to use fail2ban when utilizing AWS elastic load balancer (ELB) and an apache webserver.

This package includes a script and fail2ban configuration that allows you to use fail2ban when utilizing AWS elastic load balancer (ELB) and an apache webserver. README This package includes a script and fail2ban configuration that allows you to use fail2ban when...

Symfony 2 / 3 Apache FOP Bundle

Symfony 2 / 3 Apache FOP Bundle README Symfony2 Apache FOP (XSL-FO) Bundle Installing (composer) Add following lines on your composer.json "requre":{ "goetas/apache-fop": "1.0.*", } Configuration Add following lines on your config.yml goetas_apache_fop: executable: /install_path_to_apache_fop/fop config: ../../path_to_optional_config_xml Add this to AppKernel.php...

A PSR-3-compliant log4php-wrapper.

A PSR-3-compliant log4php-wrapper. README abacaphiliac/psr-log4php A PSR-3-compliant log4php-wrapper. Installation composer require abacaphiliac/psr-log4php Usage $nonPsrLogger = Logger::getLogger('MyLogger'); $psrLogger = new AbacaphiliacPsrLog4PhpLoggerWrapper($nonPsrLogger); Dependencies See composer.json. Contributing composer update && vendor/bin/phing This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice...

PHP Log Parser Library

PHP Log Parser Library README Install Using composer: php composer.phar require kassner/log-parser:~1.0 Usage Simply instantiate the class : $parser = new KassnerLogParserLogParser(); And then parse the lines of your access log file : $lines = file('/var/log/apache2/access.log', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach ($lines...