Come risolvere il problema internal dummy connection – CENTOS – UBUNTU

0

linux

 

 

Leggendo nei log del proprio server può capitare di riscontrare l’errore internal dummy connection ecco come risolverlo.

Tutta l’operazione va eseguita da terminale quindi da ssh!

Per leggere il log digitate il comando: cat /var/log/httpd/access_log

– – [11/Jan/2015:23:17:13 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:17:14 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:17:15 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:17:16 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:17:17 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:17:25 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:17:51 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:17:52 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:17:53 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”
– – [11/Jan/2015:23:19:48 +0100] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”

 

Ora date il comando:

nano /etc/httpd/conf/httpd.conf oppure vim /etc/httpd/conf/httpd.conf

Aggiungete le seguenti righe:

SetEnvIf Remote_Addr “127\.0\.0\.1” loopback
SetEnvIf Remote_Addr “::1” loopback
SetEnvIf User-Agent “.*internal dummy connection.*” loopback
CustomLog logs/access_log combined env=!loopback
Riavviate apache:
Service httpd restart oppure /etc/init.d/httpd restart

LASCIA UN COMMENTO

Please enter your comment!
Please enter your name here

4 × 2 =