Write a toy web server. It'll get you up to par with how the requests actually happen which is a good base for understanding CGI and the more complex systems.
It's practically requisite to understanding Rails or Django and is not so hard a project that you can't start to tackle it quickly (by reading any of the hundreds of simple web server tutorials online)