Apache server stats with small and useful bash script.

2013-11-29 3 min read Bash Linux Uncategorized Wordpress

Just copy this script to your web-server cgi-bin directory and enjoy.

The script with show the common errors like 404 Error, Internal Server Error and others. It will show the User agent distribution using simple commands like grep, uniq, awk and so on.

You would need to change the tfile – which is temporary file and also the access.log path in the next line.

Just re-direct the output to some file with html extenstion. You could even put this in the cron which re-directs the output to some html in server document root.

Continue reading

Hotmail login from Linux machine using Firefox.

2010-07-15 1 min read Fedora Linux

Today I learnt two things. One is that Hotmail has changed the look of the email on the web. Quite good change. Looks good.

Second is that when loggin in to the hotmail using my Fedora box with Firefox, I was always getting the annoying, you are not on supported browser and saw the fix on <a href="http://www.linuxquestions.org/questions/linux-newbie-8/hotmail-problems-683894/?posted=1#post3345089" target="_blank">this link. The solution is as simple as changing the &#8221;general.useragent.vendor&#8221; for firefox. The way to do this is :

Continue reading