X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2Fmd%2FServer-security.md;h=ea1b637dfd2c54058558441152f1cdd93f9a71ec;hb=6128ab6a55430a2b705be31ff417c0c552a0db1f;hp=8df36f460d828f9fa0efd7aad30a13b417a3f604;hpb=f09e1e318e0b1c72aa659c20b715be508009175f;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/md/Server-security.md b/doc/md/Server-security.md index 8df36f46..ea1b637d 100644 --- a/doc/md/Server-security.md +++ b/doc/md/Server-security.md @@ -1,9 +1,10 @@ ## php.ini PHP settings are defined in: -- a main configuration file, usually found under `/etc/php5/php.ini`; some distributions provide different configuration environments, e.g. - - `/etc/php5/php.ini` - used when running console scripts - - `/etc/php5/apache2/php.ini` - used when a client requests PHP resources from Apache - - `/etc/php5/php-fpm.conf` - used when PHP requests are proxied to PHP-FPM + +- a main configuration file, usually found under `/etc/php/$php_version/php.ini`; some distributions provide different configuration environments, e.g. + - `/etc/php/$php_version/cli/php.ini` - used when running console scripts + - `/etc/php/$php_version/apache2/php.ini` - used when a client requests PHP resources from Apache + - `/etc/php/$php_version/php-fpm.conf` - used when PHP requests are proxied to PHP-FPM - additional configuration files/entries, depending on the installed/enabled extensions: - `/etc/php/conf.d/xdebug.ini` @@ -30,6 +31,7 @@ Additional .ini files parsed: /etc/php/conf.d/xdebug.ini ## fail2ban `fail2ban` is an intrusion prevention framework that reads server (Apache, SSH, etc.) and uses `iptables` profiles to block brute-force attempts: + - [Official website](http://www.fail2ban.org/wiki/index.php/Main_Page) - [Source code](https://github.com/fail2ban/fail2ban) @@ -68,6 +70,7 @@ Disallow: / ``` See: -- http://www.robotstxt.org/ + +- http://www.robotstxt.org - http://www.robotstxt.org/robotstxt.html - http://www.robotstxt.org/meta.html