I am a magento newbie. I've observed that when I make an installation of magento by copying all contents of the extraction directly to localhost.... i.e (when app, media, skin, index.php etc all pasted directly in localhost) I am unable to access the admin by simply typing in localhost/admin. Whereas I have to type in localhost/index.php/admin to get into the admin panel.
Also when i click on any category i have the same problem. I have to append index.php/ before the category name to get the category link working.
Can anyone please tell me how to get them working.