[ninux-Firenze] ban IP su drupal
Leonardo
mail at leonardo.ma
Wed Mar 19 09:47:50 CET 2014
On 03/18/2014 09:27 AM, Alessio wrote:
> Qui spiegano come funziona:
> https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/ip_address/7
>
>
>> If Drupal is behind a reverse proxy, we use the X-Forwarded-For
>> header instead of $_SERVER['REMOTE_ADDR'], which would be the IP
>> address of the proxy server, and not the client's. The actual header
>> name can be configured by the reverse_proxy_header variable.
>
>
> Stando alla docuemntazione di apache dovrebbe essere già così:
> https://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers
> nel caso in cui il proxy sia impostato con la direttiva ProxyPass
> https://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
>
>
> Vai Gabriel, ti ho indicato un po' di roba, ora tocca a te ;)
aggiungo:
due righe per disabilitalro (un po' troppo a manina)
http://drupal.stackexchange.com/questions/50614/drupal-7-to-disable-turn-off-the-flood-attempts-ip-blocking-functionality
un modulo (mai provato) per gestirlo meglio
https://drupal.org/project/flood_control
--
www.leonardo.ma / twitter: @leobowski
gpg Key ID: AABE2BD7
More information about the Firenze
mailing list