Apache, a popular web server software has a module named mod_rewrite that provides an elegant and extremely powerful way of rewriting URLs on the fly. For instance you can seamlessly redirect old URLs to new ones on the server-side without using annoying JavaScript scripts, simplify complicated URLs, or create a common URL scheme.