mod_rewrite is an Apache module that allows for server-side manipulation of requested URLs.
For an introduction and examples of using mod_rewrite, read over the comprehensive article,
"Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask"