Here is how you can print the IPs ( fetched from the access_log of Apache ) which have more than 1000 hits : Additionally, you can change 1000 to your desired value.
Archive for the ‘apache’ Category
Fixing the [warn] (2)No such file or directory: Failed to enable the ‘httpready’ Accept Filter error
Posted: 6th May 2010 by Valkyrka in apache, freebsdI just installed FreeBSD today and while trying to start up Apache, I got the following error message : A quick search on Google revealed the fact that this issue can simply be resolved by running the following command : In order to make this change permanent, simply edit /boot/defaults/loader.conf and add the following line [...]
Small script to restart Apache if it's not running
Posted: 29th April 2010 by Valkyrka in apache, bashThis is a *very* small script which I wrote that checks if Apache is running and, if not, it starts Apache :