gzip compression in apache using mod_deflate

HTTP Compression is a very simple and effective way to save bandwidth and improve web application performance over the network.

Output compression is basically a process of compressing web server responses by using a loss-less compression algorithm called gzip.

This technique is fairly modern and almost all modern browsers honor it, however if a page is requested from a browser which does not send a header Accept-Encoding: gzip, deflate then the response comes back uncompressed.

Read more →

Start Stop Restart Apache 2 Web Server

I have been using Linux environment a lot lately, particularly for hosting my web experiments and other application. One of the biggest and most searched questions for newbies has been

How do I restart Apache 2 Web Server under Debian / Ubuntu Linux or UNIX operating systems?

In this post I simply attempt to lay this down for my benefit and theirs.

Start Apache2 # sudo /etc/init.d/apache2 start

Stop Apache2 # sudo /etc/init.d/apache2 stop

Read more →

How To Install and use Python Web.py framework on Windows

Web.py has been one of my favorite web frameworks as its pretty easy to get cracking on it.

It’s super quick to install and one can come up with a prototype and rapid web services in a matter of minutes.

Install on windows

If you haven’t configured easy_install on windows, then read this article.

Once easy_install has been configured believe it or not, all you have to do is open a command prompt and type

Read more →