Hot answers tagged

5 votes

there is empty ips in netstat

Your picking up ipv6 network connections which often have a number of colons in them. The cut command doesnt take this into account when snipping the colons out from the IP address. Might be more ...
user avatar
  • 22.7k
3 votes

Apache: compressing as zip (not gzip)

I think you misunderstood what the compression in the HTTP protocol is for. It is not for downloading archives. It is to reduce the data that is transferred when you are just browsing. The files that ...
user avatar
1 vote
Accepted

Apache: compressing as zip (not gzip)

As pointed out in the question's citation of the apache documentation it is not possible to configure apache to serve content compressed as zip with the mod_deflate and client's header set to Accept-...
user avatar
  • 221
1 vote
Accepted

Setting a custom value to the DeflateBufferSize results in 500 internal server error

The manual will show you that that particular directive is only valid in the context of the server config and the virtual host and it is not valid in a .htaccess file. So add those directives to /...
user avatar
  • 70.8k
1 vote

there is empty ips in netstat

Its the problem with awk & cut command. You have to analyse the output of netstat first. Follow this question.
user avatar
1 vote

there is empty ips in netstat

My guess is that the problem lies with 'awk' and/or 'cut' commands. What I would do is run the following command: netstat -ntu | awk '{print $5}' | egrep -v '127.0.0.1|95.80.176.162|199.201.121.153' ...
user avatar
  • 5,127

Only top scored, non community-wiki answers of a minimum length are eligible