Can Google index rewriten URLs? I mean, if I have the link
<a href="http://mydomain.com/document">Grab the document!</a>
and if I instruct Apache to rewrite http://mydomain.com/document as http://mydomain.com/document.pdf or http://mydomain.com/download.php?file=document.pdf, will Google still be able to index the contents of the resulting PDF file?