смена версий apache2 c 2.2.22 на 2.4.10
	
	
			после смены версий apache2 c 2.2.22 на 2.4.10
		
					
Читать дальше →
 
				
	
Читать дальше →
root@img:/etc/apache2# service apache2 restart
[....] Restarting web server: apache2[Sun Mar 02 14:57:09 2014] [warn] NameVirtualHost 127.0.0.1:81 has no VirtualHosts
 ... waiting [Sun Mar 02 14:57:10 2014] [warn] NameVirtualHost 127.0.0.1:81 has no VirtualHosts
. ok
root@img:/etc/apache2#
#NameVirtualHost 127.0.0.1:81
Listen 81root@img:/etc/apache2# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@img:/etc/apache2#
		
				
	
cat /usr/local/etc/apache22/Includes/gzip-output.conf
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/htmlcat gzip-test.sh
wget -S --spider http://a1.ru/1.txt -o /dev/stdout | grep -i content
echo
wget -S --spider http://a1.ru/1.txt --header "Accept-Encoding: gzip,deflate" -o /dev/stdout | grep -i content
  Content-Type: text/plain
  Content-Length: 143881
  Content-Type: text/plain
  Content-Encoding: gzip
  Content-Length: 13602http://www.gidnetwork.com/tools/gzip-test.phpUserParameter=apache.proc,ps ax | grep httpd | wc -l

Чрезвычайная	Critical time Apache than 5 minutes on {HOSTNAME}	{Template App Apache:apache.proc.min(300)}>200	Активировано	 
Предупреждение	Too many Apache on {HOSTNAME}	{Template App Apache:apache.proc.last(0)}>100	Активировано	 
Высокая	Warning Apache on {HOSTNAME}	{Template App Apache:apache.proc.last(0)}>200	Активировано