the reason:
fairly commonly this is done because some search engines do not index documents with the second url style.

how:
url rewriting.
there's an article about it
http://www.webmasterbase.com/article/910
don't know how good it is, but I'm sure it covers the basics.

    Write a Reply...