For example, how does Google get a URL such as this to work:

www.google.com/api?weather=00910

...without a file extension? Is it a mod rewrite or what??